updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / yapg-gtk / PKGBUILD
blob2372dd0ccde37e4a7dfcf163fe1a39a5f06caae3
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=yapg-gtk
4 pkgver=0.2beta
5 _pkgver=0.2
6 pkgrel=1
7 pkgdesc="Frontend for pacman package's manager"
8 arch=('i686' 'x86_64')
9 license=('GPL3')
10 url="http://www.brainspace.it/?p=213"
11 install=yapg-gtk.install
12 depends=('python-notify' 'pyalpmm-svn' 'gksu')
13 source=("http://www.brainspace.it/downloads/${pkgname}-beta-src-${_pkgver}.tar.gz"
14         'yapg.desktop' 'yapg-autoupdate.desktop' 'yapg.png' 'yapg.sh' 'yapg-autoupdate.sh')
15 md5sums=('0ea8544addf1d05e03d5fb1c1138340d'
16          'c0f353547f9fdb2ba0de579eb3aa22cc'
17          '4a7c02102bc49ae623bad30a0560ce7a'
18          '3522fde5307ecb39c0fdcbee493ea588'
19          'adb3b32af2786ae6e10f3f591c4bfafc'
20          '43c22e9dd7b177025092f8c86c07a60a')
22 build() {
23   cd ${srcdir}/${pkgname}-beta-src-${_pkgver}
24   install -d ${pkgdir}/usr/share/yapg
25   cp -r src/* ${pkgdir}/usr/share/yapg || return 1
27   # Install desktop files and icon
28   install -d ${pkgdir}/usr/share/applications
29   install -Dm644 ${srcdir}/yapg{,-autoupdate}.desktop \
30     ${pkgdir}/usr/share/applications || return 1
31   install -d ${pkgdir}/usr/share/pixmaps
32   install -Dm644 ${srcdir}/yapg.png \
33     ${pkgdir}/usr/share/pixmaps || return 1
35   install -Dm755 ${srcdir}/yapg.sh ${pkgdir}/usr/bin/yapg || return1
36   install -Dm755 ${srcdir}/yapg-autoupdate.sh ${pkgdir}/usr/bin/yapg-autoupdate || return1
38   # Symlinks to binary files - not work ATM
39 #  install -d ${pkgdir}/usr/bin
40 #  ln -sf /usr/share/yapg/yapg.py ${pkgdir}/usr/bin/yapg || return 1
41 #  ln -sf /usr/share/yapg/yapg-autoupdate.py ${pkgdir}/usr/bin/yapg-autoupdate || return 1