summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodolphe Bréard2021-05-05 00:40:12 +0200
committerRodolphe Bréard2021-05-05 00:40:12 +0200
commit00e82d894da57a8fc60c74b642d940c52f6e64f3 (patch)
treee6a3667e93e26d98e22ba60ae13de306928b2b11
downloadaur-00e82d894da57a8fc60c74b642d940c52f6e64f3.tar.gz
acmed-polkit-reload 0.17.0
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore15
-rw-r--r--PKGBUILD22
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..142a6635f06
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = acmed-polkit-reload
+ pkgdesc = Polkit rule allowing ACMEd to reload services
+ pkgver = 0.17.0
+ pkgrel = 1
+ url = https://github.com/breard-r/acmed/
+ arch = x86_64
+ license = Apache
+ license = MIT
+ depends = acmed
+ depends = polkit
+ source = 10-acmed.rules::https://raw.githubusercontent.com/breard-r/acmed/v0.17.0/contrib/10-acmed.rules
+ source = LICENSE-APACHE-2.0.txt::https://raw.githubusercontent.com/breard-r/acmed/v0.17.0/LICENSE-APACHE-2.0.txt
+ source = LICENSE-MIT.txt::https://raw.githubusercontent.com/breard-r/acmed/v0.17.0/LICENSE-MIT.txt
+ sha256sums = 17822f5ebee545a1625afa0409396f753b0b21cd56984bf3daf1e1015e23d951
+ sha256sums = cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30
+ sha256sums = 42f433b7fc7cf5d81dd223bde4f9d6ab45756a6aabcb82ded8908cd8f8af77ff
+
+pkgname = acmed-polkit-reload
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..404647b81b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
+*.tar.xz
+*.tar.gz
+*.tar.zst
+**/*.rs.bk
+*~
+\#*
+.\#*
+*.swp
+/pkg
+/src
+
+# Source files
+10-acmed.rules
+LICENSE-APACHE-2.0.txt
+LICENSE-MIT.txt
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b0a72ea9d78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Rodolphe Bréard <packages@what.tf>
+pkgname=acmed-polkit-reload
+_pkgname=acmed
+pkgver=0.17.0
+pkgrel=1
+pkgdesc="Polkit rule allowing ACMEd to reload services"
+arch=('x86_64')
+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/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=('17822f5ebee545a1625afa0409396f753b0b21cd56984bf3daf1e1015e23d951'
+ 'cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30'
+ '42f433b7fc7cf5d81dd223bde4f9d6ab45756a6aabcb82ded8908cd8f8af77ff')
+
+package() {
+ install -Dm644 "${srcdir}/10-acmed.rules" "${pkgdir}/usr/share/polkit-1/rules.d/10-acmed.rules"
+ 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"
+}