aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcue/APKBUILD
blob: cf414a56c2f04ddf1e8feeae962b2eb977809d24 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcue
pkgver=2.1.0
pkgrel=0
pkgdesc="library for parsing cue files"
url="https://github.com/lipnitsk/libcue"
license="GPL"
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"

builddir="$srcdir"/$pkgname-$pkgver

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

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

md5sums="0fff773e95175df349329ea34bc775cf  libcue-2.1.0.tar.gz"
sha256sums="288ddd01e5f9e8f901d0c205d31507e4bdffd2540fa86073f2fe82de066d2abb  libcue-2.1.0.tar.gz"
sha512sums="2e69e79b6e96eb999e432e10557aaaa986d685d6e69e215bf878760032621bb2a80fafecc9bb1d80bf2f5f57b6288731fab07e1967d8dad29fa864b31d01a9b1  libcue-2.1.0.tar.gz"