summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bfca39e0b93de295cc711733bfd29b4b3e9555d (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=whatsapp-nativefier-wayland-hook
pkgver=2
pkgrel=2
pkgdesc="Pacman hook to change whatsapp-nativefier to start with ozone-platform-hint=auto after install or upgrade."
arch=("any")
install=whatsapp-nativefier-wayland-hook.install
license=("MIT")
depends=('whatsapp-nativefier')
source=(whatsapp-nativefier-wayland.hook whatsapp-nativefier-wayland)
sha1sums=('df131cf4b681594db57d928277994df8da81d167'
          '93de7d6cee85b91eb7c91ff2f2dc6eba88d7c813')

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