summaryrefslogblamecommitdiff
path: root/user/opengfx/APKBUILD
blob: 24e0e621e4d745a8d8192d5076c414fb5e34a10a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
            






                                    
                                                 
              
                                                                                         


                                          



                                     





                                                                     
                                                                                                                                                                          
# 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/$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="275b9040e6938bdd5bee2d39361e0b78f447a8e497cc8ff018c7874dc16a357870f8b560999ebb2f2f0b275644c7c9ce85c964875f5a798e2ec45e62a8bc768f  opengfx-0.6.0-source.tar.xz"