From a4e7df7ca09a0fabb2516953c0eb7627b5774cab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 12 Mar 2019 00:10:45 +0100 Subject: [PATCH] Initial upload: openarc-git v1.0.0.Beta1.r0.g355ee2a-1 --- openarc/.SRCINFO | 13 +++++++++++++ openarc/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 openarc/.SRCINFO create mode 100644 openarc/PKGBUILD diff --git a/openarc/.SRCINFO b/openarc/.SRCINFO new file mode 100644 index 0000000..1dbdf75 --- /dev/null +++ b/openarc/.SRCINFO @@ -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 index 0000000..40632fb --- /dev/null +++ b/openarc/PKGBUILD @@ -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" +} -- 2.41.0