updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / adeskmenu / PKGBUILD
bloba4dd6e9ddc9d8e8b6e57e3c64b6ddc700b7e3eb5
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=(adeskmenu)
4 pkgver=0.3.2
5 pkgrel=3
6 pkgdesc="A Quick Systray Application Launcher"
7 arch=('i686' 'x86_64')
8 url="http://www.ad-comp.be/"
9 license=('GPL')
10 depends=('pygtk' 'python2')
11 install=$pkgname.install
12 source=(${url}public/projets/adesk-menu/$pkgname-$pkgver.tar.bz2
13         $pkgname.desktop
14         $pkgname.patch)
15 md5sums=('63756fe60116864f5038f1828f0a86c8'
16          '6dee76347462e5b392dd5b18d9924b6d'
17          '86b82cac09355c5eb494b3d0ce38c727')
19 build() {
20   cd $srcdir/$pkgname
22   # Fix
23   patch -Np1 -i ../$pkgname.patch
25   # Python 2 Fix
26   sed -i "s_\(python\)_env \12_" adeskmenu
28   mkdir -p "$pkgdir"/usr/{bin,share/{$pkgname,applications,pixmaps}}
30   cp -a * $pkgdir/usr/share/$pkgname
31   install -Dm 644 images/$pkgname.png $pkgdir/usr/share/pixmaps
32   install -Dm 644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications
34   ln -s /usr/share/$pkgname/$pkgname $pkgdir/usr/bin