summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Rauter2018-09-29 13:49:20 +0200
committerGabriel Rauter2018-09-29 13:49:20 +0200
commit136f4f550036911ab017bb3c815722a348fe826e (patch)
tree0d7d0cf85c35e263e2a6b813ca22c0d7ef6261e2
downloadaur-136f4f550036911ab017bb3c815722a348fe826e.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bd2b5172148
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = n-acd
+ pkgdesc = IPv4 Address Conflict Detection
+ pkgver = v1+12+ga409492
+ pkgrel = 1
+ url = https://github.com/nettools/n-acd
+ arch = x86_64
+ license = LGPL2.1
+ license = Apache
+ makedepends = meson
+ makedepends = pkgconf
+ depends = glibc
+ source = git+https://github.com/nettools/n-acd.git#commit=
+ sha256sums = SKIP
+
+pkgname = n-acd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..27705b53d37
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>
+
+pkgname=n-acd
+pkgver=v1+12+ga409492
+pkgrel=1
+pkgdesc="IPv4 Address Conflict Detection"
+url="https://github.com/nettools/n-acd"
+license=('LGPL2.1' 'Apache')
+arch=(x86_64)
+depends=(glibc)
+makedepends=(meson pkgconf)
+_tag=a40949267923c45cb232fa4c1d60eafacee4b36e #20180929
+source=("git+https://github.com/nettools/n-acd.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+build() {
+ rm -rf build
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+