1 # Contributor: <mathieui@mathieui.net>
6 pkgdesc='uliGo is a program to practice solving go problems. '
8 url="http://www.u-go.net/uligo/"
12 source=("http://dl.u-go.net/$pkgname/download/$pkgname$_pkgver.tar.gz")
13 md5sums=('ea17c666accaaf36441626e25ff07264')
16 cd "${srcdir}/${pkgname}${_pkgver}"
19 sed -i "s#whrandom#random#g" $_i
21 mkdir -p $pkgdir/usr/share/$pkgname
22 mkdir -p $pkgdir/usr/bin
23 cp -R ./* $pkgdir/usr/share/$pkgname
24 echo -e '#!/bin/bash'"\ncd /usr/share/$pkgname\n python $pkgname.py" > $pkgdir/usr/bin/$pkgname
25 chmod +x $pkgdir/usr/bin/$pkgname