aboutsummaryrefslogtreecommitdiff
path: root/openarc/PKGBUILD
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-12 00:10:45 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-12 00:10:45 +0100
commita4e7df7ca09a0fabb2516953c0eb7627b5774cab (patch)
treeb4e732b7405fa835e61639b466face5603e22aff /openarc/PKGBUILD
parentc5ce61acaeeeaafb7f84dc2f36575c34803b1bc9 (diff)
downloadAUR-a4e7df7ca09a0fabb2516953c0eb7627b5774cab.tar.gz
AUR-a4e7df7ca09a0fabb2516953c0eb7627b5774cab.tar.zst
AUR-a4e7df7ca09a0fabb2516953c0eb7627b5774cab.zip
Initial upload: openarc-git v1.0.0.Beta1.r0.g355ee2a-1
Diffstat (limited to 'openarc/PKGBUILD')
-rw-r--r--openarc/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/openarc/PKGBUILD b/openarc/PKGBUILD
new file mode 100644
index 0000000..40632fb
--- /dev/null
+++ b/openarc/PKGBUILD
@@ -0,0 +1,31 @@
1pkgname=openarc-git
2pkgver=v1.0.0.Beta1.r0.g355ee2a
3pkgrel=1
4pkgdesc="Open source ARC implementation"
5arch=('x86_64')
6url="https://github.com/trusteddomainproject/OpenARC"
7depends=("libmilter")
8license=('Custom')
9source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master")
10sha256sums=('SKIP')
11
12pkgver() {
13 cd "$pkgname"
14 git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
15}
16
17
18build () {
19 cd "$pkgname"
20 autoreconf -fvi
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc
23 make
24}
25
26package() {
27 cd "$pkgname"
28 make DESTDIR="$pkgdir" install
29 mkdir -p "$pkgdir/etc/openarc"
30 mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
31}