# $Id: PKGBUILD 231590 2015-02-15 17:41:18Z foutrelis $ # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Jan de Groot pkgname=file-roller pkgver=3.14.2 pkgrel=2.parabola1 pkgdesc="Create and modify archives, with unar support included and nonfree unace recommendation removed" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf' 'libarchive' 'file' 'json-glib' 'libnotify' 'p7zip' 'unar') makedepends=('intltool' 'gnome-doc-utils' 'pkg-config' 'libnautilus-extension' 'itstool' 'docbook-xsl') optdepends=('lrzip: lrzip archive support') groups=('gnome-extra') replaces=("${pkgname}-libre" "${pkgname}-parabola") conflicts=("${pkgname}-libre" "${pkgname}-parabola") options=('!emptydirs') install=file-roller.install url="http://www.gnome.org" source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz git-fixes.patch) sha256sums=('1815e736715afe8c0f3fbda41c76c07289220d4855345f779c632adf5e074e50' 'd884ef16b2ce1e11967b7a14a34c164158c7008b3dc59e754b3478017696f5f9') prepare() { cd $pkgname-$pkgver patch -Np1 -i ../git-fixes.patch } build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/file-roller \ --localstatedir=/var --disable-static \ --disable-schemas-compile make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }