diff options
author | Ilya Lipnitskiy | 2015-10-25 23:32:39 -0700 |
---|---|---|
committer | Ilya Lipnitskiy | 2015-10-25 23:35:02 -0700 |
commit | cca620890433f1b19bb9b43860a8d46574eff6fa (patch) | |
tree | 40c6dd6673d6e81b03e0ecad74be8328c88f4ee6 | |
download | aur-cca620890433f1b19bb9b43860a8d46574eff6fa.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..39704ef74c9b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libcue-git + pkgdesc = CUE Sheet Parser Library + pkgver = v1.4.0.r8.62a4b71 + pkgrel = 1 + url = https://github.com/lipnitsk/libcue + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + provides = libcue + conflicts = libcue + source = libcue::git+https://github.com/lipnitsk/libcue.git#commit=62a4b71 + md5sums = SKIP + +pkgname = libcue-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..588c0585d9cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> +pkgname=libcue-git +pkgver=v1.4.0.r8.62a4b71 +pkgrel=1 +pkgdesc="CUE Sheet Parser Library" +arch=('i686' 'x86_64') +url="https://github.com/lipnitsk/libcue" +license=('GPL2') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=('libcue::git+https://github.com/lipnitsk/libcue.git#commit=62a4b71') +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 +} |