updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / diodon / PKGBUILD
blob6573e35028d03ceec0fecb674611ae43b06979a0
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=diodon
4 arch=('i686')
5 pkgver=0.2.0
6 pkgrel=1
7 pkgdesc="GTK+ clipboard manager"
8 license=('GPL')
9 url="https://launchpad.net/diodon"
10 depends=('python-appindicator' 'gconf' 'libgee')
11 source=("http://launchpad.net/diodon/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('147e0f4b2631c25cfaf1e1b9af473d8a')
14 build() {
15 cd $srcdir/${pkgname}-${pkgver}
16 sed -i '1s/python/python2/' waf
17 ./waf configure
18 sed -i 's/\<local\>\///g' _build_/config.h
19 sed -i 's/\<local\>\///g' _build_/debug/config.h
20 ./waf build
23 package() {
24 cd $srcdir/${pkgname}-${pkgver}
25 install -D -m644 data/preferences.ui $pkgdir/usr/share/diodon/preferences.ui
26 install -D -m755 _build_/src/diodon $pkgdir/usr/bin/diodon
27 install -D -m644 _build_/data/diodon.desktop $pkgdir/usr/share/applications/diodon.desktop