summaryrefslogtreecommitdiff
path: root/user/catcodec/APKBUILD
blob: 9a18b7b2926259b818f9ea505971c4467dd989eb (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=catcodec
pkgver=1.0.5
pkgrel=0
pkgdesc="Encode and decode sound sample catalogues for OpenTTD"
url="https://www.openttd.org/en/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://binaries.openttd.org/extra/catcodec/1.0.5/catcodec-$pkgver-source.tar.xz"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make prefix=/usr DESTDIR="$pkgdir" install
}

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