diff options
Diffstat (limited to 'community/xdiskusage/PKGBUILD')
-rw-r--r-- | community/xdiskusage/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/community/xdiskusage/PKGBUILD b/community/xdiskusage/PKGBUILD index 4ea61f79d..833ce7f9e 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' 'mips64el') 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/* } |