aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcue/APKBUILD
blob: ed9f8c309aba84e21e72d750091cf25e15dd707b (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcue
pkgver=2.1.0
pkgrel=1
pkgdesc="Library for parsing CUE sheet files"
url="https://github.com/lipnitsk/libcue"
license="GPL-2.0"
arch="all"
depends=
makedepends="cmake bison flex"
install=
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/lipnitsk/libcue/archive/v$pkgver.tar.gz"

build() {
	cd "$builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr .
	make
}

check() {
	cd "$builddir"
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

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

sha512sums="2e69e79b6e96eb999e432e10557aaaa986d685d6e69e215bf878760032621bb2a80fafecc9bb1d80bf2f5f57b6288731fab07e1967d8dad29fa864b31d01a9b1  libcue-2.1.0.tar.gz"