summarylogtreecommitdiffstats
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
parent7b4eb136a51f5808495eb24a6e2ba5239adff972 (diff)
downloadaur-3b60de9a5bc06f4d4acde5ec1e0306c48afa76f1.tar.gz
Change the rules file name so it gets updated
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD6
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86a96c9c9b5..4c7a9429793 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = acmed-polkit-reload
pkgdesc = Polkit rule allowing ACMEd to reload services
pkgver = 0.18.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/breard-r/acmed/
arch = any
license = Apache
license = MIT
depends = acmed
depends = polkit
- source = 10-acmed.rules::https://raw.githubusercontent.com/breard-r/acmed/v0.18.0/contrib/polkit/10-acmed.rules
+ source = 10-acmed_0.18.0.rules::https://raw.githubusercontent.com/breard-r/acmed/v0.18.0/contrib/polkit/10-acmed.rules
source = LICENSE-APACHE-2.0.txt::https://raw.githubusercontent.com/breard-r/acmed/v0.18.0/LICENSE-APACHE-2.0.txt
source = LICENSE-MIT.txt::https://raw.githubusercontent.com/breard-r/acmed/v0.18.0/LICENSE-MIT.txt
sha256sums = 91941313940c94c60226dfc0a45febbbdbfb6e1f87f2dd12756e973ad71b3a31
diff --git a/.gitignore b/.gitignore
index 404647b81b1..2b1f3b7fd06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,6 @@
/src
# Source files
-10-acmed.rules
+*.rules
LICENSE-APACHE-2.0.txt
LICENSE-MIT.txt
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"