From a4e7df7ca09a0fabb2516953c0eb7627b5774cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 12 Mar 2019 00:10:45 +0100 Subject: Initial upload: openarc-git v1.0.0.Beta1.r0.g355ee2a-1 --- openarc/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 openarc/PKGBUILD (limited to 'openarc/PKGBUILD') 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" +} -- cgit v1.2.3