summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56b8263d6147a6990626e4bcbe1f67d236910075 (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=teams-for-linux-wayland-hook
pkgver=1
pkgrel=1
pkgdesc="Pacman hook to change teams-for-linux to start with electron flags to start with wayland after install or upgrade."
arch=("any")
install=teams-for-linux-wayland-hook.install
license=("MIT")
depends=('teams-for-linux')
source=(teams-for-linux-wayland.hook teams-for-linux-wayland)
sha1sums=('929fea9c7e64cf4d1de78277df852fdeb99597fd'
          'e59f8f67f089ec0dae9d8e9343a46a993bc6da41')

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