summaryrefslogtreecommitdiff
path: root/user/tree
diff options
context:
space:
mode:
Diffstat (limited to 'user/tree')
-rw-r--r--user/tree/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/tree/APKBUILD b/user/tree/APKBUILD
new file mode 100644
index 000000000..dec5fe5d4
--- /dev/null
+++ b/user/tree/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer:
+pkgname=tree
+pkgver=1.7.0
+pkgrel=2
+pkgdesc="A recursive directory indented listing of files"
+url="http://mama.indstate.edu/users/ice/tree/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+"
+depends=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="http://mama.indstate.edu/users/ice/tree/src/$pkgname-$pkgver.tgz"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make prefix="$pkgdir/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
+}
+
+sha512sums="b234fb1428ba75da72d7e4aeb24bf961e123332342593e441b29a0baa2270d12bb187d889c179d6463c940c8dce9fe9dffeb4ad3f06cf11f057b83234d7b4b4a tree-1.7.0.tgz"