aboutsummaryrefslogtreecommitdiffstats
path: root/testing/catcodec/APKBUILD
blob: ded8b0f0c2418e47c1e2253f5c5d8d87e29df5c0 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=catcodec
pkgver=1.0.5
pkgrel=2
pkgdesc="Decodes and encodes sample catalogues for OpenTTD"
url="https://www.openttd.org/downloads/catcodec-releases/latest"
arch="all"
license="GPL-2.0"
options="!check" # to testsuite
subpackages="$pkgname-doc"
source="https://cdn.openttd.org/catcodec-releases/$pkgver/catcodec-$pkgver-source.tar.xz"

build() {
	make VERBOSE=1
}

package() {
	install -Dm755 catcodec "$pkgdir"/usr/bin/catcodec
	install -Dm644 docs/catcodec.1 \
		"$pkgdir"/usr/share/man/man1/catcodec.1

	install -Dm644 changelog.txt docs/readme.txt \
		-t "$pkgdir"/usr/share/doc/catcodec/
}

sha512sums="
e6e17da17f2449ff5d3a18c34ba3125d475a481ef1dc73ba03dac32fc8523a8929d2cbdfda5f647a0226aa007a217fc90c85ec4cc46937f75e15a596277e0db5  catcodec-1.0.5-source.tar.xz
"