summaryrefslogtreecommitdiff
path: root/user/opengfx/APKBUILD
blob: 1612ced2806f023bf68c74b48e9b26ec6edf6272 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=opengfx
pkgver=7.1
pkgrel=0
pkgdesc="Graphics files for OpenTTD"
url="https://www.openttd.org/en/"
arch="noarch"
options="!check"  # Requires GIMP
license="GPL-2.0-only"
depends=""
makedepends="grfcodec nml dos2unix cmd:which"
subpackages=""
source="https://cdn.openttd.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.xz"
builddir="$srcdir/$pkgname-$pkgver-source"

build() {
	make GIMP="" _V="" bundle_tar
}

package() {
	for _file in *.grf opengfx.obg; do
		install -D -m644 -g games $_file \
			"$pkgdir"/usr/share/games/openttd/data/$_file
	done
}

sha512sums="55079babcd78d4a36279cb7610b6800308aca8409ed3b9fa33cd4993b0c1f988d7afe270b17930b97609c4fdf8cf4e362e17c11bd85d2ef136d042256c98483f  opengfx-7.1-source.tar.xz"