aboutsummaryrefslogtreecommitdiffstats
path: root/main/tree/APKBUILD
blob: f29048a8c1d2763423ed4bbbf03219fea0db67bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=tree
pkgver=1.7.0
pkgrel=0
pkgdesc="A recursive directory indented listing of files"
url="http://mama.indstate.edu/users/ice/tree/"
arch="all"
license="GPL2+"
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="abe3e03e469c542d8e157cdd93f4d8a6  tree-1.7.0.tgz"
sha256sums="6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12  tree-1.7.0.tgz"
sha512sums="b234fb1428ba75da72d7e4aeb24bf961e123332342593e441b29a0baa2270d12bb187d889c179d6463c940c8dce9fe9dffeb4ad3f06cf11f057b83234d7b4b4a  tree-1.7.0.tgz"