summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Herrmann2016-12-07 13:13:07 +0100
committerDavid Herrmann2016-12-07 13:13:07 +0100
commiteeea6afa13bf1f8f1b61138ae791c27c423317c9 (patch)
treed44c132ab5971cde15558191aa0d14c22e102307
downloadaur-eeea6afa13bf1f8f1b61138ae791c27c423317c9.tar.gz
n-acd-git: new package for n-acd
The n-acd project implements IPv4 Address Conflict Detection. This package builds the official -git tree master branch. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD41
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..17ca1990d7f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = n-acd-git
+ pkgdesc = IPv4 Address Conflict Detection
+ pkgver = r40.a55f547
+ pkgrel = 1
+ url = https://github.com/nettools/n-acd
+ arch = i686
+ arch = x86_64
+ license = Apache
+ makedepends = git
+ depends = glibc
+ provides = n-acd
+ conflicts = n-acd
+ options = debug
+ options = !strip
+ source = n-acd-git::git+https://github.com/nettools/n-acd
+ md5sums = SKIP
+
+pkgname = n-acd-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d843027fde7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.gz
+*.xz
+*-git/
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2582aab1b71
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: David Herrmann <dh.herrmann@gmail.com>
+
+_pkgorg=nettools
+_pkgname=n-acd
+pkgdesc="IPv4 Address Conflict Detection"
+pkgver=r40.a55f547
+pkgrel=1
+
+pkgname=$_pkgname-git
+arch=('i686' 'x86_64')
+url="https://github.com/$_pkgorg/$_pkgname"
+license=('Apache')
+depends=('glibc')
+makedepends=('git')
+options=('debug' '!strip')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("$pkgname::git+https://github.com/$_pkgorg/$_pkgname")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$pkgname"
+ ./autogen.sh c
+ make
+}
+
+check() {
+ cd "$pkgname"
+ make check
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+}