# $Id: PKGBUILD 44682 2009-07-03 17:52:34Z jgc $ # Maintainer: Jan de Groot pkgname=file-roller pkgver=2.26.3 pkgrel=1 pkgdesc="Archive manipulator for GNOME2" arch=(i686 x86_64) license=('GPL') depends=('desktop-file-utils' 'gconf>=2.26.0-3') makedepends=('intltool' 'gnome-doc-utils>=0.16.0' 'pkgconfig' 'nautilus>=2.26.3') optdepends=('nautilus: nautilus shell extension') groups=('gnome-extra') options=('!libtool' '!emptydirs') install=file-roller.install url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2 fr-rpm-bsdtar.patch) md5sums=('1876e9807a12c37f9bb2d00807905755' '918057080ef487c625f326ed5637f490') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np0 -i "${srcdir}/fr-rpm-bsdtar.patch" || return 1 rm -f src/fr-enum-types.c ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/file-roller \ --localstatedir=/var --disable-static \ --disable-scrollkeeper || return 1 make || return 1 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain file-roller ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas }