1 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
6 pkgdesc="Duo is a crazy eight / UNO card game"
7 url="https://launchpad.net/duo"
10 depends=('python-imaging' 'python-pmw' 'gettext')
11 source=(http://launchpad.net/duo/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz duo.png duo.desktop)
12 md5sums=('802c4149be808eff493e1d214e8c5579' '9c2b33a078dad25e01d333dc4b219ef7' '13fbe6f5afff6f54ee608e52e5e1d48f')
16 cd ${srcdir}/${pkgname}-${pkgver}
17 python2 make-locale.py || return 1
18 mkdir -p ${pkgdir}/usr/share/{duo,applications}
19 mkdir ${pkgdir}/usr/bin
20 echo "cd '/usr/share/duo/' && python2 duo.py" > ${pkgdir}/usr/bin/duo.sh
21 chmod 755 ${startdir}/pkg/usr/bin/duo.sh
22 cp -R * ${pkgdir}/usr/share/duo
23 chmod 777 -R ${pkgdir}/usr/share/duo/duo
24 cp ${srcdir}/duo.png ${pkgdir}/usr/share/duo
25 cp ${srcdir}/duo.desktop ${pkgdir}/usr/share/applications