updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / pybik / PKGBUILD
blobdd37aecd0b05b60b6d1851dc9a256b8fb7ad377b
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=pybik
4 pkgver=0.4
5 pkgrel=2
6 pkgdesc="Pybik is a 3D interactive graphics puzzle. It renders an image of a magic cube (similar to a rubik cube) and you attempt to solve it."
7 url="https://launchpad.net/pybik"
8 arch=('any')
9 depends=('python-gtkglext' 'python2-numpy')
10 makedepends=('cython' 'gettext' 'intltool')
11 conflicts=('pybik-bzr')
12 source=(http://launchpad.net/pybik/trunk/$pkgver/+download/pybik-$pkgver.tar.gz)
13 license=('GPL3')
14 md5sums=('f92376ba8807ce5c2962faa2a90689a3')
16 build() {
17    cd $srcdir/$pkgname-$pkgver
19    # Python2 fix
20    sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' setup.py ./tools/create_manpage.py
22    python2 setup.py install --root=$pkgdir --optimize=1
24    # Desktop icon
25    install -Dm644 $startdir/pybik.desktop $pkgdir/usr/share/applications/pybik.desktop