summaryrefslogtreecommitdiff
path: root/community/xdiskusage/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
committerroot <root@rshg047.dnsready.net>2011-07-08 23:09:34 +0000
commitd006db78a1ce530e9df8a65f87bf39e8d6cc88e5 (patch)
tree082c5c2c39abee82c3957872552fa15c8325744d /community/xdiskusage/PKGBUILD
parentff64a82ccedcb1690d2f0140d63432aa49676591 (diff)
Fri Jul 8 23:09:34 UTC 2011
Diffstat (limited to 'community/xdiskusage/PKGBUILD')
-rw-r--r--community/xdiskusage/PKGBUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/community/xdiskusage/PKGBUILD b/community/xdiskusage/PKGBUILD
index f73231f15..0ff97363c 100644
--- a/community/xdiskusage/PKGBUILD
+++ b/community/xdiskusage/PKGBUILD
@@ -1,14 +1,15 @@
-# $Id: PKGBUILD 2038 2009-09-07 16:25:48Z spupykin $
+# $Id: PKGBUILD 51101 2011-07-05 08:55:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=xdiskusage
pkgver=1.48
-pkgrel=5
+pkgrel=6
pkgdesc="xdiskusage is a user-friendly program to show you what is using up all your disk space"
arch=('i686' 'x86_64')
depends=('fltk')
+makedepends=('libxi')
license=('GPL')
url="http://xdiskusage.sourceforge.net"
options=(!emptydirs)
@@ -33,10 +34,14 @@ build() {
---
> int n = (long long)v;
EOF
-
+
./configure --prefix=/usr
install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
- LDFLAGS=-lXi make || return 1
- make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install || return 1
+ LDFLAGS=-lXi make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix="$pkgdir/usr" mandir="$pkgdir/usr/share/man" install
chmod 0644 $pkgdir/usr/share/man/man1/*
}