summaryrefslogtreecommitdiffstats
path: root/abs/extra/tree/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/tree/PKGBUILD')
-rw-r--r--abs/extra/tree/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/abs/extra/tree/PKGBUILD b/abs/extra/tree/PKGBUILD
index 957d4bf..b718ec3 100644
--- a/abs/extra/tree/PKGBUILD
+++ b/abs/extra/tree/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 64858 2010-01-22 13:47:03Z giovanni $
+# $Id: PKGBUILD 143988 2011-12-01 15:23:36Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=tree
-pkgver=1.5.3
-pkgrel=1
+pkgver=1.6.0
+pkgrel=2
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
}