updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / exo-alt / PKGBUILD
blob509466a3435e2657078fc3d7c72bf0f592a046e6
1 # Contributor: Artyom Smirnov <smirnoffjr@gmail.com>
2 # Maintainer: Aurélien DESBRIÈRES <ice.cube@gmx.com>
4 pkgname=exo-alt
5 _pkgname=exo
6 pkgver=0.3.101
7 pkgrel=2
8 pkgdesc="Extensions to Xfce by os-cillation with ALT Linux patchset."
9 arch=('i686' 'x86_64')
10 license=('GPL2' 'LGPL2')
11 url="http://www.os-cillation.de/index.php?id=29&L=5"
12 groups=('xfce4')
13 depends=("libxfce4util>=4.6.0" "hal>=0.5.11-7" 'hicolor-icon-theme')
14 makedepends=("pygtk>=2.14.0" 'pkgconfig' 'libnotify' 'perl-uri')
15 optdepends=('libnotify          enables notification support' \
16             'perl               enables mail-compose helper script')
17 provides=("${_pkgname}=${pkgver}")
18 conflicts=('exo')
19 options=('!libtool')
20 install=${pkgname}.install
21 source=(http://www.xfce.org/archive/xfce-4.6.1/src/${_pkgname}-${pkgver}.tar.bz2
22         exo-0.3.2-alt-noatime.patch\
23         exo-0.3.4-alt-version-script.patch \
24         alt-exo-iocharset.patch\
25         exo-0.3.2-alt-eject.patch\
26         exo-0.3.2-alt-translation.patch)
27 md5sums=('1c0eebb360f53eab70454b70e1bde36e'
28          '7f34a754b27ade245ce3f6a391c9c40c'
29          'b8dd1535fb78fcddbe17a47d77128d38'
30          '0f7f8f37d17d10ec9022a8d247b3aa95'
31          'f591ab45de3b5afb02936beb9e4b005a'
32          '15e40e594d6704c1569aa0d4f264f351')
34 build() {
35   cd "${srcdir}/${_pkgname}-${pkgver}"
36   patch -p2 < "${srcdir}/exo-0.3.2-alt-noatime.patch"  || return 1
37   patch -p2 < "${srcdir}/exo-0.3.4-alt-version-script.patch" || return 1
38   patch -p1 < "${srcdir}/alt-exo-iocharset.patch"  || return 1
39   patch -p2 < "${srcdir}/exo-0.3.2-alt-eject.patch" || return 1
40   # Too many hunks failed. Looks like translation already fixed in upstream.
41   # patch -p2 < "${srcdir}/exo-0.3.2-alt-translation.patch" || return 1 
42   
43   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
44     --localstatedir=/var --disable-static --enable-notifications \
45     --enable-python || return 1
46   make || return 1
47   make DESTDIR="${pkgdir}" install