# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=libcue pkgver=1.4.0 pkgrel=2 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 prepare() { cd "$_builddir" update_config_sub || return 1 } 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="5f5045f00e6ac92d9a057fe5b0982c69 libcue-1.4.0.tar.bz2"