updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / mate-extract / PKGBUILD
blobaff528329dbfae81fcd4419ea4da82acf1d7b46a
1 # Maintainer: Spyros Stathopoulos <foucault.online@gmail.com>
2 # Contributor: Alessio Sergi <asergi at archlinux dot us>
3 pkgname=mate-extract
4 pkgver=2011.08.31
5 pkgrel=1
6 pkgdesc="Archive manipulator for MATE"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 depends=('desktop-file-utils' 'mate-conf' 'hicolor-icon-theme')
10 makedepends=('mate-doc-utils' 'intltool')
11 conflicts=('file-roller' 'file-roller2')
12 optdepends=('unrar: for RAR uncompression'
13 'zip: for ZIP archives' 'unzip: for ZIP archives'
14 'p7zip: 7zip compression utility' 'arj: for ARJ archives'
15 'unace: extraction tool for the proprietary ace archive format')
16 options=('!libtool' '!emptydirs')
17 install=mate-extract.install
18 url="http://matsusoft.com.ar/projects"
19 groups=('mate-extras')
20 source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
21 md5sums=('4f26837dca3752cc9d17cdbcb16c4ed5')
23 build() {
24         cd "$srcdir/$pkgname"
26         mate-doc-prepare --force
27         autoreconf -i
28         aclocal
30         ./configure --prefix=/usr \
31                 --disable-static \
32                 --localstatedir=/var \
33                 --libexecdir=/usr/lib/${pkgname} \
34                 --disable-scrollkeeper \
35                 --disable-schemas-install \
36                 --sysconfdir=/etc \
37                 --disable-packagekit
38         make
41 package() {
42         cd "$srcdir/$pkgname"
43         make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
44         install -d -m755 "${pkgdir}/usr/share/mateconf/schemas"
45         mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} "${pkgdir}/etc/mateconf/schemas/*.schemas"
46         rm -f "${pkgdir}/etc/mateconf/schemas/*.schemas"
49 # vim:set ts=2 sw=2 et: