1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
7 pkgdesc="Frontend for pacman package's manager"
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')
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