updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / exo-eject / PKGBUILD
blobd094fe03441eabbde8014b6a33a8992ca9971c4d
1 # Contributor: Shae Smittle <starfall87@gmail.com>
2 # Maintainer: Aurélien DESBRIÈRES <ice.cube@gmx.com>
4 pkgname=exo-eject
5 _pkgname=exo
6 pkgver=0.3.101
7 pkgrel=3
8 pkgdesc="Extensions to Xfce by os-cillation with hal ejection patch"
9 arch=('i686' 'x86_64')
10 url="http://www.os-cillation.de/index.php?id=29&L=5"
11 license=('GPL2' 'LGPL2')
12 groups=('xfce4')
13 depends=("libxfce4util>=4.6.0" "hal>=0.5.11-7" 'hicolor-icon-theme' 'intltool')
14 makedepends=("pygtk>=2.14.0" 'pkgconfig' 'libnotify' 'perl-uri')
15 optdepends=('libnotify          enables notification support' \
16             'perl               enables mail-compose helper script')
17 options=('!libtool')
18 provides=("${_pkgname}=${pkgver}")
19 conflicts=("${_pkgname}")
20 replaces=("${_pkgname}")
21 install=${pkgname}.install
22 source=(http://www.xfce.org/archive/xfce-4.6.1/src/$_pkgname-$pkgver.tar.bz2 eject.patch)
23 md5sums=('1c0eebb360f53eab70454b70e1bde36e'
24          '8c19efbf5f6f97c2d040817cad08fd2d')
26 build() {
27   cd "${srcdir}/${_pkgname}-${pkgver}"
28   patch -Np1 -i ../eject.patch || return 1
29   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
30     --localstatedir=/var --disable-static --enable-notifications \
31     --enable-python || return 1
32   make || return 1
33   make DESTDIR="${pkgdir}" install