# $Id: PKGBUILD 262387 2016-03-22 15:35:32Z jgc $ # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Jan de Groot pkgname=file-roller pkgver=3.20.0 pkgrel=1.parabola1 pkgdesc="Create and modify archives, without nonfree unace and unrar recommendation" arch=('i686' 'x86_64') license=('GPL') depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf' 'libarchive' 'file' 'json-glib' 'libnotify' 'zip' 'unzip') makedepends=('intltool' 'pkg-config' 'libnautilus-extension' 'itstool' 'docbook-xsl') optdepends=('p7zip: 7z, arj, exe and encrypted zip files support' 'lrzip: lrzip archive support' 'cdrkit: ISO image 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=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) sha256sums=('185a99b2fc6bcfa21988af36c70def4c519931443015accff40db6ef3f4aa5a8') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/file-roller \ --localstatedir=/var --disable-static \ --disable-schemas-compile sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }