summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 344d31fd386b7872bc2b7e59511e5df51c21573b (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=heroic-games-launcher-bin-wayland-hook
pkgver=2
pkgrel=1
pkgdesc="Pacman hook to change heroic-games-launcher-bin to start with ozone-platform-hint=auto after install or upgrade."
arch=("any")
install=heroic-games-launcher-bin-wayland-hook.install
license=("MIT")
depends=('heroic-games-launcher-bin')
source=(heroic-games-launcher-bin-wayland.hook heroic-games-launcher-bin-wayland)
sha1sums=('78bc217a87bb5de50d72b6344e5ac436c73a87e8'
          'bca3ce913d8ad68578a7ee82a02e0058ec3f1880')

package() {
    install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
    install -m644 "${srcdir}/heroic-games-launcher-bin-wayland.hook" "${pkgdir}/usr/share/libalpm/hooks/heroic-games-launcher-bin-wayland.hook"
    install -m755 -d "${pkgdir}/usr/share/libalpm/scripts"
    install -m755  "${srcdir}/heroic-games-launcher-bin-wayland" "${pkgdir}/usr/share/libalpm/scripts/heroic-games-launcher-bin-wayland" 
}