From f0f5681bf672cbdfb03b6efda95ef24165a1d32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 6 Apr 2018 05:21:43 +0000 Subject: community/libcue: moved from main --- community/libcue/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/libcue/APKBUILD (limited to 'community/libcue/APKBUILD') diff --git a/community/libcue/APKBUILD b/community/libcue/APKBUILD new file mode 100644 index 0000000000..a445c63ab5 --- /dev/null +++ b/community/libcue/APKBUILD @@ -0,0 +1,32 @@ +# 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" -- cgit v1.2.3