updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / file-roller-nn / PKGBUILD
blobac4352bc065257f581ff2cbff6d8d999b8e4b5d8
1 # Maintainer: Roland Singer <roland[at]manjarolinux[dot]org>
3 pkgname=file-roller-nn
4 pkgver=3.2.0
5 pkgrel=1
6 provides=('file-roller=3.2.0')
7 conflicts=('file-roller' 'nautilus')
8 pkgdesc="Archive manipulator for GNOME without nautilus dependency. (no nautilus)"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 depends=('desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'dconf')
12 makedepends=('intltool' 'gnome-doc-utils' 'pkg-config' 'libsm')
13 optdepends=('unrar: the RAR uncompression program'
14             'zip: creates PKZIP-compatible .zip files'
15             'unzip: unpacks .zip archives'
16             'p7zip: 7zip compression utility'
17             'xz: managing LZMA and XZ compressed files'
18             'arj: ARJ archiver'
19             'unace: extraction tool for the proprietary ace archive format')
20 options=('!libtool' '!emptydirs')
21 install=file-roller.install
22 url="http://www.gnome.org"
23 source=(http://ftp.gnome.org/pub/gnome/sources/file-roller/${pkgver%.*}/file-roller-${pkgver}.tar.bz2
24         http://git.gnome.org/browse/nautilus/plain/libnautilus-private/org.gnome.nautilus.gschema.xml.in)
27 build() {
28   cd "${srcdir}/file-roller-${pkgver}"
29   ./configure --prefix=/usr --sysconfdir=/etc \
30       --libexecdir=/usr/lib/file-roller \
31       --localstatedir=/var --disable-static \
32       --disable-scrollkeeper --disable-schemas-compile \
33       --disable-nautilus-actions
34       # Configure file-roller without nautilus-actions
35   make
38 package() {
39     cd "${srcdir}/file-roller-${pkgver}"
40     make DESTDIR="${pkgdir}" install
42     # Hack to run file-roller without nautilus
43     sed -i 's/_summary/summary/g;s/_description/description/g;' ${srcdir}/org.gnome.nautilus.gschema.xml.in
44     install -Dm755 ${srcdir}/org.gnome.nautilus.gschema.xml.in ${pkgdir}/usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
48 md5sums=('09f7adc3df6eddf66055f5b493ec766a'
49          '6feef53e9782d21b9f63472d36490ea7')