summaryrefslogtreecommitdiff
path: root/extra/tree
diff options
context:
space:
mode:
Diffstat (limited to 'extra/tree')
-rw-r--r--extra/tree/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/tree/PKGBUILD b/extra/tree/PKGBUILD
index d221616d1..5c4567cae 100644
--- a/extra/tree/PKGBUILD
+++ b/extra/tree/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 64859 2010-01-22 13:47:51Z giovanni $
+# $Id: PKGBUILD 129903 2011-06-29 17:46:59Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=tree
-pkgver=1.5.3
+pkgver=1.6.0
pkgrel=1
pkgdesc="A directory listing program displaying a depth indented list of files"
arch=('i686' 'x86_64')
url="http://mama.indstate.edu/users/ice/tree/"
license=('GPL')
depends=('glibc')
-source=(ftp://mama.indstate.edu/linux/tree/${pkgname}-${pkgver}.tgz)
-md5sums=('c07ce9065667a23f27aca4de8ecccb10')
+source=("http://mama.indstate.edu/users/ice/${pkgname}/src/${pkgname}-${pkgver}.tgz")
+md5sums=('04e967a3f4108d50cde3b4b0e89e970a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make || return 1
- make prefix="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man/man1" install || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man/man1" install
}