# Maintainer: Christian Schendel # shellcheck disable=2034,2154,2164 pkgname=firefox-policy-hook pkgver=0.0.5 pkgrel=3 pkgdesc="add policies.json to firefox/distribution" url="https://codeberg.org/doppelhelix/firefox-policy-hook" arch=(any) license=( GPL-3.0-or-later ) makedepends=( git ) source=("$pkgname-$pkgver::git+$url.git#tag=${pkgver}?signed") b2sums=('7bcf4df2e8d18e04c2da3b35a6e1e46e2958e6ca390580feb988d4998539153c36e67d2105e2cd9027b3967b7572a965d0c4ede0747442a0737fb07bfe1a4f1f') validpgpkeys=( '47D15FC0F6AD8433CD06B4DF5874D2437CD5BBB3' # Christian Schendel ) package() { depends+=( bash firefox ) cd "$pkgname-$pkgver" install -Dm0755 -t "$pkgdir/usr/share/libalpm/scripts/" firefox-policy install -Dm0644 -t "$pkgdir/usr/share/libalpm/hooks/" firefox-policy.hook install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md policies.json } # vim: set ft=sh ts=4 sw=4 et: