summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Rauter2018-09-29 13:37:42 +0200
committerGabriel Rauter2018-09-29 13:37:42 +0200
commitdac201ac31e27d32cca2c4e9c5900f7024e2b29e (patch)
tree498528057ed807c32f1dfe358d3d5289a66f1a56
downloadaur-dac201ac31e27d32cca2c4e9c5900f7024e2b29e.tar.gz
init
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8ee3f3a299a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = n-dhcp4
+ pkgdesc = Dynamic Host Configuration Protocol for IPv4
+ pkgver = 0
+ pkgrel = 1
+ url = https://github.com/nettools/n-dhcp4
+ arch = x86_64
+ license = LGPL2.1
+ license = Apache
+ makedepends = meson
+ makedepends = pkgconf
+ depends = glibc
+ source = git+https://github.com/nettools/n-dhcp4.git#commit=b8068385c2ab3539494f01971f64c0d5db8d5dbf
+ sha256sums = SKIP
+
+pkgname = n-dhcp4
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0fc5e952bff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>
+
+pkgname=n-dhcp4
+pkgver=0
+pkgrel=1
+pkgdesc="Dynamic Host Configuration Protocol for IPv4"
+url="https://github.com/nettools/n-dhcp4"
+license=('LGPL2.1' 'Apache')
+arch=(x86_64)
+depends=(glibc)
+makedepends=(meson pkgconf)
+_commit=b8068385c2ab3539494f01971f64c0d5db8d5dbf #20180929
+source=("git+https://github.com/nettools/n-dhcp4.git#commit=$_commit")
+sha256sums=('SKIP')
+
+build() {
+ rm -rf build
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+