summaryrefslogblamecommitdiff
path: root/user/opensfx/APKBUILD
blob: 00093833dc516051901f4ac39af3b75b29ca8f76 (plain) (tree)
































                                                                                                                                                                          
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=opensfx
pkgver=0.2.3
pkgrel=0
pkgdesc="Sound files for OpenTTD"
url="https://www.openttd.org/en/"
arch="noarch"
license="CC-Sampling-Plus-1.0"
depends=""
makedepends="catcodec"
subpackages=""
source="https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-$pkgver-source.tar.gz"
builddir="$srcdir/$pkgname-$pkgver-source"

build() {
	cd "$builddir"
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	install -D -m644 -g games opensfx.cat \
		"$pkgdir"/usr/share/games/openttd/data/opensfx.cat
	install -D -m644 -g games opensfx.obs \
		"$pkgdir"/usr/share/games/openttd/data/opensfx.obs
}

sha512sums="7575c8febcbcabe8f9042a1a197ba76b9020e335663bf70b0aaebafe4b0758f82ff7acc624b1dfdc12d38e346f139454b78ea29e18a8bb8bd2afd3d6a209669c  opensfx-0.2.3-source.tar.gz"