aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/prwd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/prwd/APKBUILD')
-rw-r--r--unmaintained/prwd/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/unmaintained/prwd/APKBUILD b/unmaintained/prwd/APKBUILD
new file mode 100644
index 0000000000..dd6de9c254
--- /dev/null
+++ b/unmaintained/prwd/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+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
+}
+
+md5sums="904bba51ee14a355b85a583769cb23a5 prwd-1.8.tar.gz"
+sha256sums="af98328ed3d605008f820d865676311d57e985d73f74b020d1d8a81028f66d04 prwd-1.8.tar.gz"
+sha512sums="d6792096b4a28a41f9d9797d15639efe067eaa733a65b57a9e54786d10fb82ef59ee3f95742f3b377a8c1b3a2d00d1df7937c6b67ac492debd9b39ade5756c2a prwd-1.8.tar.gz"