diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-04-19 08:32:58 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-04-19 08:32:58 +0000 |
commit | 9de61ba3f10714f8521d794db9c50a9851f549f1 (patch) | |
tree | f99c45aa914e955c4299127f8dbde1fe61f38c04 /main/tree | |
parent | 2a9b8936f9b83b2e91dc72301cbe5be45e9c340d (diff) | |
download | aports-9de61ba3f10714f8521d794db9c50a9851f549f1.tar.bz2 aports-9de61ba3f10714f8521d794db9c50a9851f549f1.tar.xz |
testing/tree: move to main
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" |