updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / indicator-ejecter / PKGBUILD
blob8c916aa8766c6b9e51e339990971cc30ad974469
1 # Maintainer: D. Can Celasun <dcelasun[at]gmail[dot]com>
3 pkgname=indicator-ejecter
4 _name=ejecter
5 pkgver=0.4.4
6 pkgrel=1
7 pkgdesc="A small indicator app to help unmount external media"
8 arch=('i686' 'x86_64')
9 url="https://launchpad.net/ejecter"
10 license=('GPL3')
11 depends=('gtk2>=2.12' 'gnome-disk-utility' 'libnotify' 'indicator-application' 'hicolor-icon-theme' 
12 'libdbusmenu')
13 install='ejecter.install'
14 makedepends=('vala>=0.7.0' 'python2>=2.3' 'intltool' 'gtk-doc')
15 groups=('ayatana')
16 source=(http://launchpad.net/${_name}/indicator/$pkgver/+download/${_name}-$pkgver.tar.bz2)
17 md5sums=('dee1bd75c2cae20367b4fc5b02a03d1f')
19 build() {
20   cd ${_name}-$pkgver
21   
22   export PYTHON="/usr/bin/python2"
23   sed -i 's|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|' ./waf
25   ./waf configure --prefix=/usr
26   ./waf build || return 1
27   ./waf --destdir="$pkgdir" install