diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 05:49:26 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-23 05:49:26 -0500 |
commit | 3a3eda47040b4a3f019e6e831d1779d7ae8b618b (patch) | |
tree | dc06174b109667032eb7de04fefe985e0f996e63 /user/libcue | |
parent | 02d372bd982525ff89f5fbae6ae72effc3d5dad9 (diff) | |
download | packages-3a3eda47040b4a3f019e6e831d1779d7ae8b618b.tar.gz packages-3a3eda47040b4a3f019e6e831d1779d7ae8b618b.tar.bz2 packages-3a3eda47040b4a3f019e6e831d1779d7ae8b618b.tar.xz packages-3a3eda47040b4a3f019e6e831d1779d7ae8b618b.zip |
user/libcue: pull in, bump to 2.2.1, fix up, modernise
Diffstat (limited to 'user/libcue')
-rw-r--r-- | user/libcue/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libcue/APKBUILD b/user/libcue/APKBUILD new file mode 100644 index 000000000..e989d4e41 --- /dev/null +++ b/user/libcue/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=libcue +pkgver=2.2.1 +pkgrel=0 +pkgdesc="Library for parsing CUE sheet files" +url="https://github.com/lipnitsk/libcue" +license="GPL-2.0+ AND BSD-2-Clause" +arch="all" +depends="" +makedepends="cmake bison flex" +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 \ + -DBUILD_SHARED_LIBS=ON \ + . + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="32e476cb09ed2cb2d64aaba1342fb91e77e448391b493a3a794a8d2a6723a0e6097a90b11c6ad82998cb7f270f4f18c2578d7b8575f6929c2a35502e09ebc964 libcue-2.2.1.tar.gz" |