updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kye / PKGBUILD
blobf917b53a6a34517ac7b500b360574b915d040518
1 # Contributor: Xavier de Labouret <arch@2-lab.net>
2 # Maintainer: FoolEcho <foolecho@gmail.com>
3 pkgname=kye
4 pkgver=1.0.0
5 _ver=1.0
6 pkgrel=1
7 pkgdesc="An addictive action-puzzle game, where you have to collect all the diamonds without getting stucked or eaten"
8 arch=('any')
9 url="http://games.moria.org.uk/kye/pygtk"
10 license=('GPL')
11 #depends=('pygtk' 'librsvg')
12 depends=('python-rsvg')
13 source=(http://games.moria.org.uk/${pkgname}/download/${pkgname}-${_ver}.tar.gz
14   kye.desktop
16 md5sums=('1ad78167bb6a72d3e24f4a20b6dfde73'
17          '3ec0827c0788a40b46b2627be84a6efe')
19 package()
21   cd ${srcdir}/${pkgname}-${_ver}/
22   python2 setup.py install --root=${pkgdir}/ --optimize=1
24   mkdir -p ${pkgdir}/usr/share/pixmaps/
25   install -D -m644 ${srcdir}/${pkgname}-${_ver}/kye-icon.png ${pkgdir}/usr/share/pixmaps/
26   install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
28   #for convenience
29   mv ${pkgdir}/usr/bin/Kye ${pkgdir}/usr/bin/kye
30   mv ${pkgdir}/usr/bin/Kye-edit ${pkgdir}/usr/bin/kye-edit