]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Initial upload: openarc-git v1.0.0.Beta1.r0.g355ee2a-1
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 11 Mar 2019 23:10:45 +0000 (00:10 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 11 Mar 2019 23:10:45 +0000 (00:10 +0100)
openarc/.SRCINFO [new file with mode: 0644]
openarc/PKGBUILD [new file with mode: 0644]

diff --git a/openarc/.SRCINFO b/openarc/.SRCINFO
new file mode 100644 (file)
index 0000000..1dbdf75
--- /dev/null
@@ -0,0 +1,13 @@
+pkgbase = openarc-git
+       pkgdesc = Open source ARC implementation
+       pkgver = v1.0.0.Beta1.r0.g355ee2a
+       pkgrel = 1
+       url = https://github.com/trusteddomainproject/OpenARC
+       arch = x86_64
+       license = Custom
+       depends = libmilter
+       source = openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master
+       sha256sums = SKIP
+
+pkgname = openarc-git
+
diff --git a/openarc/PKGBUILD b/openarc/PKGBUILD
new file mode 100644 (file)
index 0000000..40632fb
--- /dev/null
@@ -0,0 +1,31 @@
+pkgname=openarc-git
+pkgver=v1.0.0.Beta1.r0.g355ee2a
+pkgrel=1
+pkgdesc="Open source ARC implementation"
+arch=('x86_64')
+url="https://github.com/trusteddomainproject/OpenARC"
+depends=("libmilter")
+license=('Custom')
+source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+
+build () {
+  cd "$pkgname"
+  autoreconf -fvi
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+  mkdir -p "$pkgdir/etc/openarc"
+  mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
+}