blob: 0e79f2369b3a720093a8b24c0a846120fc96b1a8 (
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=0.6.0
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 cmd:unix2dos cmd:which"
subpackages=""
source="https://cdn.openttd.org/opengfx-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="275b9040e6938bdd5bee2d39361e0b78f447a8e497cc8ff018c7874dc16a357870f8b560999ebb2f2f0b275644c7c9ce85c964875f5a798e2ec45e62a8bc768f opengfx-0.6.0-source.tar.xz"
|