1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Dogukan Korkmazturk <d.korkmazturk@gmail.com>
3 # Contributor: Ronan Rabouin <darkbaboon@gmail.com>
8 pkgdesc="A quick and lightweight application launcher."
10 url="http://adeskbar.tuxfamily.org/"
12 depends=('pyxdg' 'gnome-menus2' 'pygtk')
13 optdepends=('python-xlib: systray plugin'
14 'python-wnck: intellihide mode and tasklist plugin'
15 'python-pyalsaaudio: volume plugin'
16 'python2-pyinotify: menu plugin'
17 'vte: terminal plugin')
18 conflicts=("$pkgname-bzr" "$pkgname-archbang")
19 install="$pkgname.install"
20 source=("http://download.tuxfamily.org/$pkgname/sources/$pkgname-$pkgver.tar.gz"
22 md5sums=('99fba38f2e8675b369e784ba0ee20d1d'
23 '58cc954001b1c4ed33ed758337e05e78')
26 cd "$srcdir/$pkgname-${pkgver%.*}"
29 sed -i '$d' $pkgname.desktop
33 cd "$srcdir/$pkgname-${pkgver%.*}"
36 install -d "$pkgdir/usr/share/$pkgname"
37 cp -a src/* "$pkgdir/usr/share/$pkgname"
40 install -Dm644 "src/images/$pkgname.png" \
41 "$pkgdir/usr/share/pixmaps/$pkgname.png"
44 install -Dm644 "$pkgname.desktop" \
45 "$pkgdir/usr/share/applications/$pkgname.desktop"
48 install -Dm755 ../adeskbar.sh "$pkgdir/usr/bin/adeskbar"
51 sed -i "s|env python$|&2|" `grep -rl "env python" "$pkgdir"`