summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD117
1 files changed, 71 insertions, 46 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7ee7ba2035f..ec437d7427b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: SanskritFritz (gmail)
-pkgname=("pzl_common" "pzl_boggle" "pzl_codeword" "pzl_futoshiki" "pzl_jigsaw" "pzl_kakuro" "pzl_minesweeper" "pzl_scrabbler" "pzl_sumpuzzle" "pzl_sudoku" "pzl_sokoban")
+pkgname=("pzl_common" "pzl_akari" "pzl_boggle" "pzl_codeword" "pzl_futoshiki" "pzl_jigsaw" "pzl_kakuro" "pzl_minesweeper" "pzl_scrabbler" "pzl_sumpuzzle" "pzl_sudoku" "pzl_sokoban")
pkgbase="pzl_games"
-pkgver=3.6
-_pkgver=3_6
+pkgver=4.0
+_pkgver=4_0
pkgrel=1
pkgdesc="Small collection of computer games."
arch=('any')
url="http://pzl.org.uk/"
license=('GPL')
source=("http://pzl.org.uk/pzl_$_pkgver.zip"
+ "pzl_akari.desktop"
"pzl_boggle.desktop"
"pzl_codeword.desktop"
"pzl_futoshiki.desktop"
@@ -19,7 +20,22 @@ source=("http://pzl.org.uk/pzl_$_pkgver.zip"
"pzl_scrabbler.desktop"
"pzl_sumpuzzle.desktop"
"pzl_sudoku.desktop"
- "pzl_sokoban.desktop" )
+ "pzl_sokoban.desktop")
+# "pzl_launcher.desktop")
+
+md5sums=('e447cbe20f3d8f8475f9201b95488128'
+ '7775d13040fcb2108283fe9ad62a24ab'
+ '68db7ca30579f312bfcf274f8dbdd406'
+ '3fe6e4760000ec42505601ef74ec9d31'
+ '25e7079b6867a9465b79d77e3f30d3c8'
+ '4c56394fc8e6c31f2da61727e0dccfb5'
+ '3bf4816d7aa6fe5b0bba231831e390c4'
+ 'dce4907232ffbbb173053771dd38a393'
+ 'a59c4ccadb776f5e0f45d5a70345cd96'
+ '0909be64599ffb306e5081ebd82138a2'
+ '13cefc5e33b8df09001a3834e8d81cd2'
+ '3b3797fbb8dd8ac7b9c64a940ef893e9')
+# '673452d59ee878d5cfd67651ae12dc93')
prepare() {
sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" pzl_download/*.py*
@@ -30,7 +46,18 @@ package_pzl_common() {
pkgdesc="Common files for pzl games."
depends=('tk' 'python2')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/*.py "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/pzl_lib.py "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/dawg.py "$pkgdir/usr/share/pzl_games"
+}
+
+package_pzl_akari() {
+ pkgdesc="A binary-determination logic puzzle, also called Light Up."
+ url="http://pzl.org.uk/akari.html"
+ depends=('pzl_common')
+ install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
+ install -m644 pzl_download/akari.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/akari_logo.gif "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_akari.desktop "$pkgdir/usr/share/applications"
}
package_pzl_boggle() {
@@ -38,9 +65,9 @@ package_pzl_boggle() {
url="http://pzl.org.uk/boggle.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/boggle.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/boggle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_boggle.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/boggle.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/boggle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_boggle.desktop "$pkgdir/usr/share/applications"
}
package_pzl_codeword() {
@@ -48,9 +75,9 @@ package_pzl_codeword() {
url="http://pzl.org.uk/codeword.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/codeword.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/codeword_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_codeword.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/codeword.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/codeword_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_codeword.desktop "$pkgdir/usr/share/applications"
}
package_pzl_futoshiki() {
@@ -58,9 +85,9 @@ package_pzl_futoshiki() {
url="http://pzl.org.uk/futoshiki.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/futoshiki.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/futoshiki_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_futoshiki.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/futoshiki.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/futoshiki_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_futoshiki.desktop "$pkgdir/usr/share/applications"
}
package_pzl_jigsaw() {
@@ -68,9 +95,9 @@ package_pzl_jigsaw() {
url="http://pzl.org.uk/jigsaw.html"
depends=('python2-pillow' 'pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/jigsaw.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/jigsaw_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_jigsaw.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/jigsaw.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/jigsaw_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_jigsaw.desktop "$pkgdir/usr/share/applications"
}
package_pzl_kakuro() {
@@ -78,9 +105,9 @@ package_pzl_kakuro() {
url="http://pzl.org.uk/kakuro.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/kakuro.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/kakuro_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_kakuro.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/kakuro.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/kakuro_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_kakuro.desktop "$pkgdir/usr/share/applications"
}
package_pzl_minesweeper() {
@@ -88,9 +115,9 @@ package_pzl_minesweeper() {
url="http://pzl.org.uk/minesweeper.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/minesweeper.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/minesweeper_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_minesweeper.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/minesweeper.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/minesweeper_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_minesweeper.desktop "$pkgdir/usr/share/applications"
}
package_pzl_scrabbler() {
@@ -98,9 +125,9 @@ package_pzl_scrabbler() {
url="http://pzl.org.uk/scrabbler.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/scrabbler.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/scrabbler_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_scrabbler.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/scrabbler.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/scrabbler_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_scrabbler.desktop "$pkgdir/usr/share/applications"
}
package_pzl_sumpuzzle() {
@@ -108,9 +135,9 @@ package_pzl_sumpuzzle() {
url="http://pzl.org.uk/sumpuzzle.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/sumpuzzle.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/sumpuzzle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_sumpuzzle.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/sumpuzzle.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/sumpuzzle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_sumpuzzle.desktop "$pkgdir/usr/share/applications"
}
package_pzl_sudoku() {
@@ -118,9 +145,9 @@ package_pzl_sudoku() {
url="http://pzl.org.uk/sudoku.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/sudoku.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/sudoku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_sudoku.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/sudoku.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/sudoku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_sudoku.desktop "$pkgdir/usr/share/applications"
}
package_pzl_sokoban() {
@@ -128,19 +155,17 @@ package_pzl_sokoban() {
url="http://pzl.org.uk/sokoban.html"
depends=('pzl_common')
install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
- cp pzl_download/sokoban.pyw "$pkgdir/usr/share/pzl_games"
- cp pzl_download/sokoban_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
- cp pzl_sokoban.desktop "$pkgdir/usr/share/applications"
+ install -m644 pzl_download/sokoban.pyw "$pkgdir/usr/share/pzl_games"
+ install -m644 pzl_download/sokoban_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+ install -m644 pzl_sokoban.desktop "$pkgdir/usr/share/applications"
}
-md5sums=('e1d1e22c75918f7fc43f2097f455af55'
- '68db7ca30579f312bfcf274f8dbdd406'
- '3fe6e4760000ec42505601ef74ec9d31'
- '25e7079b6867a9465b79d77e3f30d3c8'
- '4c56394fc8e6c31f2da61727e0dccfb5'
- '3bf4816d7aa6fe5b0bba231831e390c4'
- 'dce4907232ffbbb173053771dd38a393'
- 'a59c4ccadb776f5e0f45d5a70345cd96'
- '0909be64599ffb306e5081ebd82138a2'
- '13cefc5e33b8df09001a3834e8d81cd2'
- '3b3797fbb8dd8ac7b9c64a940ef893e9')
+# package_pzl_launcher() {
+# pkgdesc="Launcher for pzl games."
+# url="http://pzl.org.uk/sokoban.html"
+# depends=('pzl_common')
+# install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
+# install -m644 pzl_download/pzl_launcher.pyw "$pkgdir/usr/share/pzl_games"
+# install -m644 pzl_download/pzl_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
+# install -m644 pzl_launcher.desktop "$pkgdir/usr/share/applications"
+# }