diff options
author | Chocobo1 | 2017-10-26 02:34:57 +0800 |
---|---|---|
committer | Chocobo1 | 2017-10-26 02:46:25 +0800 |
commit | 6b81eebe858417da9c621b909e1f496c1b18f3ed (patch) | |
tree | b907d7a19d15819a9d438830a9468d902b146731 | |
download | aur-6b81eebe858417da9c621b909e1f496c1b18f3ed.tar.gz |
newpkg: parpd-git 1.7.r1.gbfc5f6d-1
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8709f07a0f28 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = parpd-git + pkgdesc = A RFC 1027 compliant proxy ARP daemon + pkgver = 1.7.r1.gbfc5f6d + pkgrel = 1 + url = https://roy.marples.name/projects/parpd + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + depends = glibc + provides = parpd + conflicts = parpd + source = git+https://roy.marples.name/git/parpd.git + sha256sums = SKIP + +pkgname = parpd-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c4673fa72ef0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=parpd-git +pkgver=1.7.r1.gbfc5f6d +pkgrel=1 +pkgdesc="A RFC 1027 compliant proxy ARP daemon" +arch=('i686' 'x86_64') +url="https://roy.marples.name/projects/parpd" +license=('BSD') +depends=('glibc') +makedepends=('git') +provides=('parpd') +conflicts=('parpd') +source=("git+https://roy.marples.name/git/parpd.git") +sha256sums=('SKIP') + + +pkgver() { + cd "parpd" + + git describe --long --tags | sed 's/^parpd-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "parpd" + + make +} + +package() { + cd "parpd" + + make DESTDIR="$pkgdir" BINDIR="/usr/bin" install + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/parpd/LICENSE" +} |