updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / file-roller2 / PKGBUILD
blob5d4f252408041b9cbeaef8e81856313391a6495f
1 # Maintainer: Spyros Stathopoulos <foucault.online@gmail.com>
2 # Contributor: Alessio Sergi <asergi at archlinux dot us>
4 pkgname=file-roller2
5 _pkgname=file-roller
6 pkgver=2.32.2
7 pkgrel=3
8 pkgdesc='Archive manipulator for GNOME2'
9 arch=('i686' 'x86_64')
10 url="http://www.gnome.org"
11 license=('GPL')
12 groups=('gnome-extra')
13 depends=('desktop-file-utils' 'gconf>=2.32.0' 'hicolor-icon-theme')
14 makedepends=('gnome-doc-utils' 'intltool' 'nautilus<=3.0.1.1')
15 optdepends=('unrar: for RAR uncompression' 
16 'zip: for ZIP archives' 'unzip: for ZIP archives'
17 'p7zip: 7zip compression utility' 'arj: for ARJ archives'
18 'unace: extraction tool for the proprietary ace archive format')
19 provides=('file-roller')
20 conflicts=('file-roller')
21 replaces=('file-roller')
22 options=('!libtool' '!emptydirs')
23 install='file-roller.install'
24 source=("http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.bz2")
25 md5sums=('2ec596e237c2f3af1d7d3f5b9c12884f')
27 build() {
28   cd "$srcdir/$_pkgname-$pkgver"
29   ./configure --prefix=/usr \
30     --disable-static \
31     --localstatedir=/var \
32     --libexecdir=/usr/lib/file-roller \
33     --disable-scrollkeeper \
34     --disable-schemas-install \
35     --sysconfdir=/etc \
36     --disable-packagekit
37   make
40 package() {
41   cd "$srcdir/$_pkgname-$pkgver"
42   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
43   install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
44   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${_pkgname}.schemas" \
45     --domain "${_pkgname}" "${pkgdir}/etc/gconf/schemas/"*.schemas
46   rm -f "${pkgdir}/etc/gconf/schemas/"*.schemas
49 # vim:set ts=2 sw=2 et: