aboutsummaryrefslogblamecommitdiffstats
path: root/testing/openttd-opengfx/APKBUILD
blob: c4ece6a0717f962c9a073709c462fd29c27e7578 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                 
                 



















                                                                                                                                                                    
# 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="GPL-2.0"
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"