aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-04-19 08:29:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-04-19 08:29:09 +0000
commit2a9b8936f9b83b2e91dc72301cbe5be45e9c340d (patch)
tree52c5df9dfe5a80c28322713f7b98d8b70df9a470
parent7730a749dea443b60e478adaa307207910f317ef (diff)
downloadaports-2a9b8936f9b83b2e91dc72301cbe5be45e9c340d.tar.bz2
aports-2a9b8936f9b83b2e91dc72301cbe5be45e9c340d.tar.xz
testing/tree: new aport
A recursive directory indented listing of files
-rw-r--r--testing/tree/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/tree/APKBUILD b/testing/tree/APKBUILD
new file mode 100644
index 0000000000..7831da03be
--- /dev/null
+++ b/testing/tree/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=tree
+pkgver=1.6.0
+pkgrel=0
+pkgdesc="A recursive directory indented listing of files"
+url="http://mama.indstate.edu/users/ice/tree/"
+arch="all"
+license="GPL"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=
+subpackages="$pkgname-doc"
+source="http://mama.indstate.edu/users/ice/tree/src/$pkgname-$pkgver.tgz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ return 0
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make prefix="$pkgdir/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
+}
+
+md5sums="04e967a3f4108d50cde3b4b0e89e970a tree-1.6.0.tgz"