aboutsummaryrefslogtreecommitdiff
path: root/openarc
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
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')
-rw-r--r--openarc/.SRCINFO13
-rw-r--r--openarc/PKGBUILD31
2 files changed, 44 insertions, 0 deletions
diff --git a/openarc/.SRCINFO b/openarc/.SRCINFO
new file mode 100644
index 0000000..1dbdf75
--- /dev/null
+++ b/openarc/.SRCINFO
@@ -0,0 +1,13 @@
1pkgbase = openarc-git
2 pkgdesc = Open source ARC implementation
3 pkgver = v1.0.0.Beta1.r0.g355ee2a
4 pkgrel = 1
5 url = https://github.com/trusteddomainproject/OpenARC
6 arch = x86_64
7 license = Custom
8 depends = libmilter
9 source = openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master
10 sha256sums = SKIP
11
12pkgname = openarc-git
13
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}