summaryrefslogtreecommitdiff
path: root/pcr/libixp-hg/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-15 22:39:49 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-15 22:39:49 -0500
commitf01b81c5ee10b5fc0bf22db32507b62bddabb86d (patch)
treec9a443980f9c921f85c4f4a31729282a5f0e6570 /pcr/libixp-hg/PKGBUILD
parent11591add702e2e25988cf7b00ca0a65ff93e54cb (diff)
downloadabslibre-f01b81c5ee10b5fc0bf22db32507b62bddabb86d.tar.gz
abslibre-f01b81c5ee10b5fc0bf22db32507b62bddabb86d.tar.bz2
abslibre-f01b81c5ee10b5fc0bf22db32507b62bddabb86d.zip
add pcr/wmii-hg, and dependency pcr/libixp-hg
Diffstat (limited to 'pcr/libixp-hg/PKGBUILD')
-rw-r--r--pcr/libixp-hg/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/libixp-hg/PKGBUILD b/pcr/libixp-hg/PKGBUILD
new file mode 100644
index 000000000..3642535d1
--- /dev/null
+++ b/pcr/libixp-hg/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname="libixp-hg"
+pkgver=148
+pkgdesc="A 9p client/server library"
+url="http://libs.suckless.org/libixp"
+license=("MIT")
+
+provides=("libixp")
+conflicts=("libixp")
+
+pkgrel=1
+arch=("i686" "x86_64")
+makedepends=("txt2tags")
+options=(staticlibs)
+
+source=("libre://${pkgname}-${pkgver}.tar.gz")
+md5sums=('5a2fd075108558b39988610d2bb184d9')
+
+mkdepends=("mercurial")
+mksource=("$pkgname-$pkgver::hg+https://code.google.com/p/libixp/#revision=${pkgver}")
+mkmd5sums=('SKIP')
+mksource() {
+ # don't include this precompiled binary (probably included by accident)
+ rm "${srcdir}/${pkgname}-${pkgver}/test/o.client"
+}
+
+_makeflags=("PREFIX=/usr" "ETC=/etc")
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make "${_makeflags[@]}"
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make "${_makeflags[@]}" DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}