# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=libcue pkgver=2.2.0 pkgrel=0 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 -DCMAKE_INSTALL_LIBDIR=lib . make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="638b4fb5eabda750fe7a43200d5f86c45c27ab7b100828ac1f76d155d3e3378a65b4e35e9e2fc17c1f6cf055ac63aff798edaf19ca88ef52966b43b857410018 libcue-2.2.0.tar.gz"