diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-12 00:10:45 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-12 00:10:45 +0100 |
commit | a4e7df7ca09a0fabb2516953c0eb7627b5774cab (patch) | |
tree | b4e732b7405fa835e61639b466face5603e22aff /openarc/PKGBUILD | |
parent | c5ce61acaeeeaafb7f84dc2f36575c34803b1bc9 (diff) | |
download | AUR-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/PKGBUILD | 31 |
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 @@ | |||
1 | pkgname=openarc-git | ||
2 | pkgver=v1.0.0.Beta1.r0.g355ee2a | ||
3 | pkgrel=1 | ||
4 | pkgdesc="Open source ARC implementation" | ||
5 | arch=('x86_64') | ||
6 | url="https://github.com/trusteddomainproject/OpenARC" | ||
7 | depends=("libmilter") | ||
8 | license=('Custom') | ||
9 | source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master") | ||
10 | sha256sums=('SKIP') | ||
11 | |||
12 | pkgver() { | ||
13 | cd "$pkgname" | ||
14 | git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
15 | } | ||
16 | |||
17 | |||
18 | build () { | ||
19 | cd "$pkgname" | ||
20 | autoreconf -fvi | ||
21 | ./configure --prefix=/usr \ | ||
22 | --sysconfdir=/etc | ||
23 | make | ||
24 | } | ||
25 | |||
26 | package() { | ||
27 | cd "$pkgname" | ||
28 | make DESTDIR="$pkgdir" install | ||
29 | mkdir -p "$pkgdir/etc/openarc" | ||
30 | mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" | ||
31 | } | ||