diff options
author | Mantas Mikulėnas | 2018-01-23 07:43:46 +0200 |
---|---|---|
committer | Mantas Mikulėnas | 2018-01-23 07:44:59 +0200 |
commit | 8ab47ac77247b93c12942b39e9e6dcd710535b75 (patch) | |
tree | ec039d103da8b0dba0f9a03b137757ffed3405d8 | |
download | aur-8ab47ac77247b93c12942b39e9e6dcd710535b75.tar.gz |
initial release
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7da4c334d259 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = lig + pkgdesc = LISP Information Groper, a tool that can be used to query the LISP Map-Server database + pkgver = r139.g2680249 + pkgrel = 1 + url = https://github.com/LISPmob/lig-lispmob + arch = x86_64 + arch = i686 + arch = armv6h + license = BSD-3-clause + source = git+https://github.com/LISPmob/lig-lispmob#commit=268024993fa6e8864085676222b9490022ce928c + sha256sums = SKIP + +pkgname = lig + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25062eadc543 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=lig +pkgver=r139.g2680249 +pkgrel=1 +pkgdesc="LISP Information Groper, a tool that can be used to query the LISP Map-Server database" +url="https://github.com/LISPmob/lig-lispmob" +arch=('x86_64' 'i686' 'armv6h') +license=('BSD-3-clause') +_commit=268024993fa6e8864085676222b9490022ce928c +source=("git+https://github.com/LISPmob/lig-lispmob#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd lig-lispmob + #git describe | sed 's/^v//; s/-/.r/; s/-/./' + echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" +} + +build() { + cd lig-lispmob + make +} + +package() { + cd lig-lispmob + install -Dm755 lig "$pkgdir"/usr/bin/lig + install -Dm644 lig.1 "$pkgdir"/usr/share/man/man1/lig.1 +} + +# vim:set ts=2 sw=2 et: |