summaryrefslogtreecommitdiff
path: root/user/opensfx/APKBUILD
blob: 08a453d654fc00c15031c9d3de430ba1b94c7d37 (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
29
30
31
# 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://cdn.openttd.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.gz"
builddir="$srcdir/$pkgname-$pkgver-source"

build() {
	make
}

check() {
	make check
}

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

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