summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a17ece05c001561824bea0c9aa0cd562164c5a6 (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-notray-hook
pkgver=1
pkgrel=2
pkgdesc="Pacman hook to disable whatsapp-nativefier tray after install or upgrade."
arch=("any")
install=whatsapp-nativefier-notray-hook.install
license=("MIT")
depends=('whatsapp-nativefier')
source=(whatsapp-nativefier-notray.hook whatsapp-nativefier-notray)
sha1sums=("019bc488c1b5ebf402a9e0a6e47eaf9565f20411"
	"8ad521854a407a848b21db10b557491240a60f84")

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