summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRodolphe Bréard2021-05-10 19:11:54 +0200
committerRodolphe Bréard2021-05-10 19:11:54 +0200
commit6ec38ed18bc701a9c106c0f0e3aad4e84de91d20 (patch)
tree227bd0bb27d0124ee4d03549353b6a5199fd39ba /PKGBUILD
parent00e82d894da57a8fc60c74b642d940c52f6e64f3 (diff)
downloadaur-6ec38ed18bc701a9c106c0f0e3aad4e84de91d20.tar.gz
Fix arch and chmod
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b0a72ea9d78..614e64d016e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=acmed-polkit-reload
_pkgname=acmed
pkgver=0.17.0
-pkgrel=1
+pkgrel=2
pkgdesc="Polkit rule allowing ACMEd to reload services"
-arch=('x86_64')
+arch=('any')
url="https://github.com/breard-r/acmed/"
license=('Apache' 'MIT')
depends=('acmed' 'polkit')
@@ -17,6 +17,7 @@ sha256sums=('17822f5ebee545a1625afa0409396f753b0b21cd56984bf3daf1e1015e23d951'
package() {
install -Dm644 "${srcdir}/10-acmed.rules" "${pkgdir}/usr/share/polkit-1/rules.d/10-acmed.rules"
+ chmod 750 "${pkgdir}/usr/share/polkit-1/rules.d"
install -Dm644 "${srcdir}/LICENSE-APACHE-2.0.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-APACHE-2.0.txt"
install -Dm644 "${srcdir}/LICENSE-MIT.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-MIT.txt"
}