summaryrefslogtreecommitdiffstats
path: root/main/libcue/APKBUILD
blob: 0972f2388080c1a03407186c4c9afe212f742f44 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcue
pkgver=1.4.0
pkgrel=1
pkgdesc="library for parsing cue files"
url="http://libcue.sourceforge.net/"
license="GPL"
arch="all"
depends=
makedepends=
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"

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

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="5f5045f00e6ac92d9a057fe5b0982c69  libcue-1.4.0.tar.bz2"