From 2c030507d010b60fbd1dc4950b934b9d581271dc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Nov 2013 10:32:33 +0000 Subject: testing/prwd: new aport A tool can print reduced working directory http://tamentis.com/projects/prwd/ --- testing/prwd/APKBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 testing/prwd/APKBUILD (limited to 'testing/prwd') diff --git a/testing/prwd/APKBUILD b/testing/prwd/APKBUILD new file mode 100644 index 000000000..c976de1dd --- /dev/null +++ b/testing/prwd/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=prwd +pkgver=1.8 +pkgrel=0 +pkgdesc="A tool can print reduced working directory" +url="http://tamentis.com/projects/prwd/" +arch="all" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="$pkgname-$pkgver.tar.gz::https://github.com/tamentis/prwd/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure\ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="904bba51ee14a355b85a583769cb23a5 prwd-1.8.tar.gz" +sha256sums="af98328ed3d605008f820d865676311d57e985d73f74b020d1d8a81028f66d04 prwd-1.8.tar.gz" +sha512sums="d6792096b4a28a41f9d9797d15639efe067eaa733a65b57a9e54786d10fb82ef59ee3f95742f3b377a8c1b3a2d00d1df7937c6b67ac492debd9b39ade5756c2a prwd-1.8.tar.gz" -- cgit v1.2.3