1 # Contributor: Xavier de Labouret <arch@2-lab.net>
2 # Maintainer: FoolEcho <foolecho@gmail.com>
7 pkgdesc="An addictive action-puzzle game, where you have to collect all the diamonds without getting stucked or eaten"
9 url="http://games.moria.org.uk/kye/pygtk"
11 #depends=('pygtk' 'librsvg')
12 depends=('python-rsvg')
13 source=(http://games.moria.org.uk/${pkgname}/download/${pkgname}-${_ver}.tar.gz
16 md5sums=('1ad78167bb6a72d3e24f4a20b6dfde73'
17 '3ec0827c0788a40b46b2627be84a6efe')
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
29 mv ${pkgdir}/usr/bin/Kye ${pkgdir}/usr/bin/kye
30 mv ${pkgdir}/usr/bin/Kye-edit ${pkgdir}/usr/bin/kye-edit