summaryrefslogtreecommitdiff
path: root/testing/openttd-opengfx/APKBUILD
blob: 886188a9aa4279a9b8e75e7e3a4dd5bb4dbfeca8 (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
# Contributor: Adrian Siekierka <kontakt@asie.pl>
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=openttd-opengfx
pkgver=0.5.2
pkgrel=0
pkgdesc="Free graphics set for OpenTTD"
url="http://openttd.org/"
arch="noarch"
license="GPL2"
depends=""
makedepends=""
source="https://binaries.openttd.org/extra/opengfx/$pkgver/opengfx-$pkgver-all.zip"
builddir="$srcdir/opengfx-$pkgver"

prepare() {
	cd "$srcdir"
	tar xf opengfx-$pkgver.tar
}

package() {
	cd "$builddir"

	mkdir -p "$pkgdir/usr/share/games/openttd/data"
	install -Dm644 *.grf *.obg "$pkgdir/usr/share/games/openttd/data"
}

md5sums="e64352d0578822c6e5388b631b3086f7  opengfx-0.5.2-all.zip"
sha256sums="19be61f1cb04cbb3cb9602f0b8eb6e6f56ecbefbfdd6e0e03f9579e5a5c1cbc8  opengfx-0.5.2-all.zip"
sha512sums="2e2d940e42d859bd23211f2606d78db50695e394c2e106b6337811721e900d073f947d9bed8b2521bf98512583653a6e9db5da6b1fa2aa47fdb2626f15c618b5  opengfx-0.5.2-all.zip"