summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6d886251b3ba44326b28750b341827755a6cc590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
# Maintainer: SanskritFritz (gmail)

pkgname=(pzl_common pzl_ajs pzl_akari pzl_arrowsudoku pzl_boggle pzl_bridges pzl_codeword pzl_fillomino pzl_futoshiki pzl_hidato pzl_hitori pzl_jigsaw pzl_jigsawsudoku pzl_kakuro pzl_masyu pzl_minesweeper pzl_numberlink pzl_nurikabe pzl_scrabbler pzl_othello pzl_ripple pzl_shikaku pzl_sokoban pzl_sudoku pzl_suguru pzl_sumpuzzle pzl_wordwheel pzl_wordladder)
pkgbase="pzl_games"
pkgver=20.0
_pkgver=20_0
pkgrel=1
pkgdesc="Small collection of puzzle games."
arch=('any')
url="http://pzl.org.uk/"
license=('GPL')
source=("http://pzl.org.uk/pzl3_$_pkgver.zip"
        "pzl_ajs.desktop"
        "pzl_akari.desktop"
        "pzl_arrowsudoku.desktop"
        "pzl_boggle.desktop"
        "pzl_bridges.desktop"
        "pzl_codeword.desktop"
        "pzl_fillomino.desktop"
        "pzl_futoshiki.desktop"
        "pzl_hidato.desktop"
        "pzl_hitori.desktop"
        "pzl_jigsaw.desktop"
        "pzl_jigsawsudoku.desktop"
        "pzl_kakuro.desktop"
        "pzl_masyu.desktop"
        "pzl_minesweeper.desktop"
        "pzl_numberlink.desktop"
        "pzl_nurikabe.desktop"
        "pzl_scrabbler.desktop"
        "pzl_othello.desktop"
        "pzl_ripple.desktop"
        "pzl_shikaku.desktop"
        "pzl_sokoban.desktop"
        "pzl_sudoku.desktop"
        "pzl_suguru.desktop"
        "pzl_sumpuzzle.desktop"
        "pzl_wordwheel.desktop"
        "pzl_wordladder.desktop")

md5sums=('4758a02e8ac34feb748f1666b1d7d8f0'
         '6f5058e263976d69a2eb356ca2c2a6b5'
         '37af6d1fa020f7fa532a69a0e07b32ad'
         'a1e25c7621e92598bcdb8d442133031a'
         '898534ec921c3c165fc11a7b5ef9b8d2'
         'b62c538e5baba89f6fe1e195af8e39af'
         '02df03e4c57e8b77062df51971f7c582'
         '493fa819c6a145a873ec81bab55bf96a'
         '744840240079721ae72b14b49589ef4b'
         'a07ce126d031c9fbed8c1cbe2c6af1a1'
         'c16b0f4c92f3d37269097f138c820e54'
         '00333ad5a67aa529189cb8d5efce7ec2'
         'fa5438c87ada71ae5bdf2edd84df4290'
         '27c7b30bf6c9365397b35d4cca7044f8'
         '0ff3ac0767cd8fc94388ef3b301c8adc'
         '3938559de7b10ca25f86ccb59676547e'
         'ab1d907a83c8b7e359eff308ee89d9d9'
         '08f441dcf7ec24f4148d9a952738d7f4'
         'bdcdc0250d61c33f85289e7e436546a6'
         'b56963fa4b72c8b93e799ed25055a3b4'
         'd1eea30878b0028a5a5e36a0b0158b81'
         '38dc1f1869c03d4cc8e2724e6060fc65'
         'ea71834e6c8ab194e38738b599a3e351'
         '068873d936f6592065010b056da87cc7'
         '0c1b99051ab88c9aacf108a4d7d577e2'
         '652ec7a6aa6a225f62579a315bd98421'
         'b7b52cd6e554eb01aa0537bb5526e297'
         'b0afcb5b6a3f2f05b8fd8e6d59d8e6ca')

package_pzl_common() {
	pkgdesc="Common files for pzl games."
	depends=('tk' 'python')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/pzl_lib.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/dawg.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/gplv3-88x31.png "$pkgdir/usr/share/pzl_games"
}

package_pzl_ajs() {
	pkgdesc="Arrow Jigsaw Sudoku is a combination of jigsawsudoku and arrowsudoku."
	url="http://pzl.org.uk/ajs.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/ajs.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/ajs_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/ajs_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_ajs.desktop "$pkgdir/usr/share/applications"
}

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 pzl3_download/akari.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/akari_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_akari.desktop "$pkgdir/usr/share/applications"
}

package_pzl_arrowsudoku() {
	pkgdesc="A variant of Sudoku."
	url="http://pzl.org.uk/arrowsudoku.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/arrowsudoku.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/arrowsudoku_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/arrowsudoku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_arrowsudoku.desktop "$pkgdir/usr/share/applications"
}

package_pzl_boggle() {
	pkgdesc="Find as many words as possible in a grid of letters."
	url="http://pzl.org.uk/boggle.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/boggle.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/boggle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_boggle.desktop "$pkgdir/usr/share/applications"
}

package_pzl_bridges() {
	pkgdesc="Link a set of islands with bridges so that it is possible to reach any island from any other."
	url="http://pzl.org.uk/bridges.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/bridges.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/bridges_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_bridges.desktop "$pkgdir/usr/share/applications"
}

package_pzl_codeword() {
	pkgdesc="Challenging crossword pattern recognition game."
	url="http://pzl.org.uk/codeword.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/codeword.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/codeword_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_codeword.desktop "$pkgdir/usr/share/applications"
}

package_pzl_fillomino() {
	pkgdesc="Fill in all empty cells with numbers by dividing all of the board into blocks."
	url="http://pzl.org.uk/fillomino.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/fillomino.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/fillomino_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_fillomino.desktop "$pkgdir/usr/share/applications"
}

package_pzl_futoshiki() {
	pkgdesc="Logic game in which players solve a Latin square."
	url="http://pzl.org.uk/futoshiki.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/futoshiki.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/futoshiki_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_futoshiki.desktop "$pkgdir/usr/share/applications"
}

package_pzl_hidato() {
	pkgdesc="Place a chain of consecutive numbers in touching cells so that there is a continuous path."
	url="http://pzl.org.uk/hidato.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/hidato.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/hidato_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_hidato.desktop "$pkgdir/usr/share/applications"
}

package_pzl_hitori() {
	pkgdesc="No number can appear in a row or column more than once."
	url="http://pzl.org.uk/hitori.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/hitori.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/hitori_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/hitori_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_hitori.desktop "$pkgdir/usr/share/applications"
}

package_pzl_jigsaw() {
	pkgdesc="Puzzle game to assemble segments of a picture into their positions."
	url="http://pzl.org.uk/jigsaw.html"
	depends=('python-pillow' 'pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/jigsaw.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/jigsaw_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_jigsaw.desktop "$pkgdir/usr/share/applications"
}

package_pzl_jigsawsudoku() {
	pkgdesc="A variant of Sudoku."
	url="http://pzl.org.uk/jigsawsudoku.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/jigsawsudoku.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/jigsawsudoku_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/jigsawsudoku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_jigsawsudoku.desktop "$pkgdir/usr/share/applications"
}

package_pzl_kakuro() {
	pkgdesc="An absorbing logic game."
	url="http://pzl.org.uk/kakuro.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/kakuro.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/kakuro_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_kakuro.desktop "$pkgdir/usr/share/applications"
}

package_pzl_masyu() {
	pkgdesc="A game played on a rectangular grid in which some of the vertices contain black or white circles."
	url="http://pzl.org.uk/masyu.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/masyu.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/masyu_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/masyu_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_masyu.desktop "$pkgdir/usr/share/applications"
}

package_pzl_minesweeper() {
	pkgdesc="Minesweeper game which will always produce puzzles that can be solved using logic."
	url="http://pzl.org.uk/minesweeper.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/minesweeper.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/minesweeper_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_minesweeper.desktop "$pkgdir/usr/share/applications"
}

package_pzl_numberlink() {
	pkgdesc="A game in which the player makes non-intersecting paths between pairs of numbers."
	url="http://pzl.org.uk/numberlink.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/numberlink.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/numberlink_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/numberlink_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_numberlink.desktop "$pkgdir/usr/share/applications"
}

package_pzl_nurikabe() {
	pkgdesc="Each clue cell of value N must be part of a cluster of white cells and all other cells must be black."
	url="http://pzl.org.uk/nurikabe.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/nurikabe.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/nurikabe_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/nurikabe_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_nurikabe.desktop "$pkgdir/usr/share/applications"
}

package_pzl_scrabbler() {
	pkgdesc="Make words on the board using randomly allotted letters."
	url="http://pzl.org.uk/scrabbler.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/scrabbler.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/scrabbler_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_scrabbler.desktop "$pkgdir/usr/share/applications"
}

package_pzl_sumpuzzle() {
	pkgdesc="Test of logic and simple arithmetic in which the player positions numbers to satisfy six intersecting sums."
	url="http://pzl.org.uk/sumpuzzle.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/sumpuzzle.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/sumpuzzle_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_sumpuzzle.desktop "$pkgdir/usr/share/applications"
}

package_pzl_othello() {
	pkgdesc="Also known as Reversi. Flip the opponents disk."
	url="http://pzl.org.uk/othello.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/othello.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/othello_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_othello.desktop "$pkgdir/usr/share/applications"
}

package_pzl_ripple() {
	pkgdesc="Puzzle as a rectangular grid of cells to be filled with consecutive numbers."
	url="http://pzl.org.uk/ripple.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/ripple.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/ripple_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/ripple_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_ripple.desktop "$pkgdir/usr/share/applications"
}

package_pzl_shikaku() {
	pkgdesc="Draw non-overlapping rectangles around the clue cells to completely cover the grid by rectangles."
	url="http://pzl.org.uk/shikaku.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/shikaku.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/shikaku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_shikaku.desktop "$pkgdir/usr/share/applications"
}

package_pzl_sokoban() {
	pkgdesc="The warehouse keeper must push boxes to designated positions."
	url="http://pzl.org.uk/sokoban.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/sokoban.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/sokoban_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_sokoban.desktop "$pkgdir/usr/share/applications"
}

package_pzl_sudoku() {
	pkgdesc="The popular logic game."
	url="http://pzl.org.uk/sudoku.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/sudoku.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/sudoku_model.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/sudoku_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/sudoku_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_sudoku.desktop "$pkgdir/usr/share/applications"
}

package_pzl_suguru() {
	pkgdesc="Place the digits 1-N once in each polyomino in such a way that no digit touches another digit of the same value."
	url="http://pzl.org.uk/suguru.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/suguru.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/suguru_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_suguru.desktop "$pkgdir/usr/share/applications"
}

package_pzl_wordwheel() {
	pkgdesc="Puzzle of words scrambled in a circle."
	url="http://pzl.org.uk/wordwheel.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/wordwheel.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/wordwheel_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/wordwheel_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_wordwheel.desktop "$pkgdir/usr/share/applications"
}

package_pzl_wordladder() {
	pkgdesc="Series of words, one above the other, each word differs by one letter."
	url="http://pzl.org.uk/wordladder.html"
	depends=('pzl_common')
	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
	install -m644 pzl3_download/wordladder.pyw "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/wordladder_data.py "$pkgdir/usr/share/pzl_games"
	install -m644 pzl3_download/wordladder_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
	install -m644 pzl_wordladder.desktop "$pkgdir/usr/share/applications"
}

# package_pzl_launcher() {
# 	pkgdesc="Launcher for pzl games."
# 	url="http://pzl.org.uk/"
# 	depends=('pzl_common')
# 	install -dm755 "$pkgdir"/usr/share/{applications,pixmaps/pzl_games,pzl_games}
# 	install -m644 pzl3_download/pzl_launcher.pyw "$pkgdir/usr/share/pzl_games"
# 	install -m644 pzl3_download/pzl_icon.png "$pkgdir/usr/share/pixmaps/pzl_games"
# 	install -m644 pzl_launcher.desktop "$pkgdir/usr/share/applications"
# }