diff options
author | John W. Trengrove | 2016-03-26 16:07:21 +1100 |
---|---|---|
committer | John W. Trengrove | 2016-03-26 16:07:21 +1100 |
commit | efa778ec280898c6c71a14ce1664d1e6da21ef53 (patch) | |
tree | ea10ba509e587dd1acb412d7f4525a56dbe77a46 | |
download | aur-libtap-git.tar.gz |
Initial commit libtap-git
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b4bd662c43e9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = libtap-git + pkgdesc = C testing library implementing the Test Anything Protocol + pkgver = 0.1.0.16.gd2109aa + pkgrel = 1 + url = https://github.com/zorgnax/libtap + arch = x86_64 + arch = i686 + license = LGPL + makedepends = git + depends = glibc + provides = libtap + conflicts = libtap + source = git+https://github.com/zorgnax/libtap + md5sums = SKIP + +pkgname = libtap-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..416428c6e712 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: John W. Trengrove <john@retrofilter.com> + +pkgname=libtap-git +_pkgname=libtap +pkgver=0.1.0.16.gd2109aa +pkgrel=1 +pkgdesc="C testing library implementing the Test Anything Protocol" +arch=('x86_64' 'i686') +url="https://github.com/zorgnax/libtap" +license=('LGPL') +source=("git+https://github.com/zorgnax/libtap") +depends=('glibc') +makedepends=('git') +conflicts=('libtap') +provides=('libtap') +md5sums=('SKIP') + +pkgver() { + cd ${_pkgname} + echo "$(git describe --long --tags | tr - .)" +} + +build() { + cd ${_pkgname} + make +} + +package() { + cd ${_pkgname} + make PREFIX="${pkgdir}/usr" install +} |