summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRodolphe Bréard2021-06-13 21:41:47 +0200
committerRodolphe Bréard2021-06-13 21:41:47 +0200
commit3b60de9a5bc06f4d4acde5ec1e0306c48afa76f1 (patch)
treefb8a616f23f3b979c777b52b829d0f9719781819 /PKGBUILD
parent7b4eb136a51f5808495eb24a6e2ba5239adff972 (diff)
downloadaur-acmed-polkit-reload.tar.gz
Change the rules file name so it gets updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6df36f4fce9..a060d4b25e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=acmed-polkit-reload
_pkgname=acmed
pkgver=0.18.0
-pkgrel=2
+pkgrel=3
pkgdesc="Polkit rule allowing ACMEd to reload services"
arch=('any')
url="https://github.com/breard-r/acmed/"
license=('Apache' 'MIT')
depends=('acmed' 'polkit')
-source=("10-acmed.rules::https://raw.githubusercontent.com/breard-r/${_pkgname}/v${pkgver}/contrib/polkit/10-acmed.rules"
+source=("10-acmed_${pkgver}.rules::https://raw.githubusercontent.com/breard-r/${_pkgname}/v${pkgver}/contrib/polkit/10-acmed.rules"
"LICENSE-APACHE-2.0.txt::https://raw.githubusercontent.com/breard-r/${_pkgname}/v${pkgver}/LICENSE-APACHE-2.0.txt"
"LICENSE-MIT.txt::https://raw.githubusercontent.com/breard-r/${_pkgname}/v${pkgver}/LICENSE-MIT.txt")
sha256sums=('91941313940c94c60226dfc0a45febbbdbfb6e1f87f2dd12756e973ad71b3a31'
@@ -16,7 +16,7 @@ sha256sums=('91941313940c94c60226dfc0a45febbbdbfb6e1f87f2dd12756e973ad71b3a31'
'42f433b7fc7cf5d81dd223bde4f9d6ab45756a6aabcb82ded8908cd8f8af77ff')
package() {
- install -Dm644 "${srcdir}/10-acmed.rules" "${pkgdir}/usr/share/polkit-1/rules.d/10-acmed.rules"
+ install -Dm644 "${srcdir}/10-acmed_${pkgver}.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"