aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openttd-opengfx/APKBUILD
blob: 17d63ddee7840e7765f557f643a9c243e47db4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Adrian Siekierka <kontakt@asie.pl>
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=openttd-opengfx
pkgver=0.5.5
pkgrel=0
pkgdesc="Free graphics set for OpenTTD"
url="http://openttd.org/"
arch="noarch"
license="GPL-2.0"
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() {
	mkdir -p "$pkgdir/usr/share/games/openttd/data"
	install -Dm644 *.grf *.obg "$pkgdir/usr/share/games/openttd/data"
}

sha512sums="12bca0d74ac6a30bd074d08064e7f3236700829996e8ebe36fd08ce8c180e19419d42ecc87dc8793749127022b51f5d6f781bbbb7b1952522feec1e8e2a0b6a2  opengfx-0.5.5-all.zip"