# Maintainer: Gabriel Rauter 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 }