# $Id: PKGBUILD 2942 2009-09-23 20:41:31Z ibiru $ # Maintainer : Biru Ionut # Contributor: Roman Kyrylych # Contributor: Johannes Sjolund pkgname=gnome-commander pkgver=1.2.8.2 pkgrel=1 pkgdesc="A graphical two-pane filemanager for Gnome" arch=('i686' 'x86_64') url="http://www.nongnu.org/gcmd/" license=('GPL') depends=('libgnomeui' 'gnome-vfs' 'gconf' 'python' 'libsm') makedepends=('perlxml' 'gnome-doc-utils>=0.11.2') options=(!libtool) install=gnome-commander.install source=(ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/$pkgname-$pkgver.tar.bz2) build() { export CFLAGS="$CFLAGS -fno-strict-aliasing" cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc \ --localstatedir=/var --disable-scrollkeeper --enable-python make || return 1 make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install || return 1 mkdir -p "$pkgdir"/usr/share/gconf/schemas gconf-merge-schema "$pkgdir"/usr/share/gconf/schemas/${pkgname}.schemas \ "$pkgdir"/etc/gconf/schemas/*.schemas rm -f "$pkgdir"/etc/gconf/schemas/*.schemas } md5sums=('8b390fc2de41aee522a444e78b1feb4f')