aboutsummaryrefslogtreecommitdiffstats
path: root/community/cuetools/APKBUILD
blob: 94f4ed8c52b39ca38141d4516b68a897f783fbbd (plain)
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
32
33
34
35
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=cuetools
pkgver=1.4.1
pkgrel=0
pkgdesc="cuetools is a set of utilities for working with cue files and toc files"
url="https://github.com/svend/cuetools"
arch="all"
license="GPL-2.0-only"
makedepends="autoconf automake libtool bison flex"
options="!check" # no tests
subpackages="$pkgname-doc"
source="cuetools-$pkgver.tar.gz::https://github.com/svend/cuetools/archive/$pkgver.tar.gz"

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="dc81e6ec756f9d040dd913e8f340be136d68619caa24bdec21364f94b4fc0ffcbcf21325c7fd53c9230d6d70a2856b45a32c5ca7f41ec76fa47298bf226d959e  cuetools-1.4.1.tar.gz"