aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcue/APKBUILD
blob: 601de157418d37cc7b2d9c8d6450f081f2ace3dc (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
36
37
38
39
40
41
42
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcue
pkgver=1.4.0
pkgrel=3
pkgdesc="library for parsing cue files"
url="https://github.com/lipnitsk/libcue"
license="GPL"
arch="all"
depends=
makedepends="autoconf automake libtool 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
prepare() {
	cd "$_builddir"
	autoreconf -vif
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="34437caeb108326cca7d5d5628b1bc96  libcue-1.4.0.tar.gz"
sha256sums="c3c46d58cebf15b3fe07e6f649014694d338ddd880e941bfb1fd3cedae66c62f  libcue-1.4.0.tar.gz"
sha512sums="94ee669d4d288f56bdace55573b63ecef0efdf6f4f97d4d6b869236b4043f94552aae267458a2882b2cbff268b5d1ccb03274b1ca228d5feb2b54a9114017354  libcue-1.4.0.tar.gz"