diff options
Diffstat (limited to 'main/tree')
-rw-r--r-- | main/tree/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main/tree/APKBUILD b/main/tree/APKBUILD new file mode 100644 index 0000000000..7831da03be --- /dev/null +++ b/main/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" |