# $Id: PKGBUILD 264788 2016-04-12 21:59:07Z heftig $ # Maintainer (Arch): Jan Alexander Steffens (heftig) # Contributor (Arch): Jan de Groot pkgname=file-roller pkgver=3.20.2 pkgrel=1.parabola1 pkgdesc="Create and modify archives, without nonfree unace and unrar recommendation" url="https://wiki.gnome.org/Apps/FileRoller" arch=(i686 x86_64) license=(GPL) depends=(gtk3 dconf libarchive file json-glib libnotify zip unzip) makedepends=(intltool libnautilus-extension itstool docbook-xsl) optdepends=('p7zip: 7z, arj, exe and encrypted zip files support' 'lrzip: lrzip archive support') replaces=("${pkgname}-libre" "${pkgname}-parabola") conflicts=("${pkgname}-libre" "${pkgname}-parabola") groups=(gnome-extra) options=(!emptydirs) install=file-roller.install source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) sha256sums=('93188a7ac9285cb85551c327082aeaeb51ac39a9722cb96b0e29d5ec2ae353c6') build() { cd $pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib/$pkgname --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 }