blob: a445c63ab5012eea0d1ab4fc1e47acfe86c95079 (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
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"
|