diff options
Diffstat (limited to 'community/gdmap/PKGBUILD')
-rw-r--r-- | community/gdmap/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gdmap/PKGBUILD b/community/gdmap/PKGBUILD new file mode 100644 index 000000000..ea5be993f --- /dev/null +++ b/community/gdmap/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 67645 2012-03-13 15:14:31Z lcarlier $ +# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com> + +pkgname=gdmap +pkgver=0.8.1 +pkgrel=3 +pkgdesc="Tool to inspect the used space of folders." +arch=('i686' 'x86_64') +url="http://gdmap.sourceforge.net" +license=('GPL') +depends=('gtk2' 'glib2' 'libxml2') +makedepends=('gettext' 'intltool') +source=(http://downloads.sourceforge.net/sourceforge/gdmap/$pkgname-$pkgver.tar.gz \ + gtk-fix.patch) +md5sums=('54b43354dbe774810104607ad1eaaed3' + 'a5488ae69fa778cd35398b99bb1d6c94') + +build() { + cd ${srcdir}/gdmap-$pkgver + + cd src + # fix deprecated gtk macros call + patch -Np0 -i ../../gtk-fix.patch + # fix linking + sed -i -e 's/@LIBXML_LIBS@/@LIBXML_LIBS@ -lm/g' Makefile.in + cd .. + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/gdmap-$pkgver + + make DESTDIR=${pkgdir} install +} |