blob: 5bfeaabda0121eca1031d234c7c8870db8ac5f16 (
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
33
34
35
36
37
38
39
|
# Maintainer: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
pkgname=libcue-git
pkgver=v2.0.1.r0.57ec834
pkgrel=1
pkgdesc="CUE Sheet Parser Library"
arch=('i686' 'x86_64')
url="https://github.com/lipnitsk/libcue"
license=('GPL2')
makedepends=('git' 'cmake' 'flex' 'bison')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('libcue::git+https://github.com/lipnitsk/libcue.git#branch=master')
noextract=()
md5sums=('SKIP')
# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr $srcdir/${pkgname%-git}
make
}
check() {
cd build
make -k test
}
package() {
cd build
make DESTDIR="$pkgdir/" install
}
|