summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d3acead9c605dc01efcaa84fcb53c0dc7c86788 (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
pkgname=berusky-dos
pkgver=0.1.0
pkgrel=1
pkgdesc='Berušky (DOS verze)'
arch=(any)
url=https://www.anakreon.cz/Berusky.html
license=(GPL)
depends=(dosbox)
install=$pkgname.install
source=(
	https://www.anakreon.cz/download/{berusky,urovne}.zip
	urovne.bat
	berusky-{dos,edit}{,42}.png
	berusky-{dos,urovne}.desktop)
noextract=({berusky,urovne}.zip)
md5sums=(
	279e2837172a38b61fd88da4795c56d7
	da887f103f5a527cece2ed535a3d5959
	SKIP{,,,,,,})
package(){
	install -dm757 "$pkgdir"/usr/share/$pkgname
	bsdtar xf berusky.zip -C"$pkgdir"/usr/share/$pkgname
	mkdir "$pkgdir"/usr/share/$pkgname/urovne
	bsdtar xf urovne.zip -C"$pkgdir"/usr/share/$pkgname/urovne
	cp urovne.bat "$pkgdir"/usr/share/$pkgname
	install berusky-{dos,edit}.png -Dt "$pkgdir"/usr/share/icons/hicolor/22x22/apps
	install -D {berusky-dos42,"$pkgdir"/usr/share/icons/hicolor/48x48/apps/berusky-dos}.png	# berusky.png koliduje s "berusky"
	install -D {berusky-edit42,"$pkgdir"/usr/share/icons/hicolor/48x48/apps/berusky-edit}.png
	install berusky-{dos,urovne}.desktop -Dt "$pkgdir"/usr/share/applications
}