summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1112f51b17eb07467dfb8f15385f71ecf8ce98f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Emanuel Serpa <emanuelvserpa@gmail.com>

pkgname=discord-canary-wayland-hook
pkgver=3
pkgrel=1
pkgdesc="Pacman hook to change discord-canary to start with ozone-platform-hint=auto after install or upgrade."
arch=("any")
install=discord-canary-wayland-hook.install
license=("MIT")
depends=('discord-canary')
source=(discord-canary-wayland.hook discord-canary-wayland)
sha1sums=('6572182ccda6e3f5a413676f91a4d5056f77e5d7'
          '50193748bf59d70e58662f16ee6aaae966cb427f')

package() {
    install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
    install -m644 "${srcdir}/discord-canary-wayland.hook" "${pkgdir}/usr/share/libalpm/hooks/discord-canary-wayland.hook"
    install -m755 -d "${pkgdir}/usr/share/libalpm/scripts"
    install -m755  "${srcdir}/discord-canary-wayland" "${pkgdir}/usr/share/libalpm/scripts/discord-canary-wayland" 
}