1 # Contributor: Eric Forgeot < http://anamnese.online.fr >
6 pkgdesc="A version of the famous Minesweeper game which will always produce puzzles that can be solved using logic."
8 url="http://sourgumdrop.org.uk/minestein_1.html"
10 depends=('glibc' 'python2' 'tk' )
12 source=(http://sourgumdrop.org.uk/pad/Minestein.zip)
13 md5sums=('636769163002a521bcf884bd40bc7e73')
17 mkdir -p $pkgdir/usr/{bin,share/minestein}
20 Minestein_pad_file.xml \
22 $pkgdir/usr/share/minestein
23 echo -e "#!/bin/sh\npython2 /usr/share/minestein/Minestein.pyw" > $pkgdir/usr/bin/minestein
24 chmod 777 $pkgdir/usr/bin/minestein
27 mkdir -p $pkgdir/usr/share/pixmaps
28 mkdir -p $pkgdir/usr/share/applications
30 cp $srcdir/../$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
32 install -D -m644 $srcdir/../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop