summaryrefslogtreecommitdiff
path: root/community/libcuefile
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libcuefile
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libcuefile')
-rw-r--r--community/libcuefile/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libcuefile/PKGBUILD b/community/libcuefile/PKGBUILD
new file mode 100644
index 000000000..92654aec4
--- /dev/null
+++ b/community/libcuefile/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 57124 2011-10-22 02:51:18Z ebelanger $
+# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
+
+pkgname=libcuefile
+pkgver=475
+pkgrel=1
+pkgdesc="A library to work with CUE files"
+arch=('i686' 'x86_64')
+url="http://www.musepack.net/index.php?pg=src"
+license=('GPL2')
+depends=('glibc')
+makedepends=('cmake')
+source=(http://files.musepack.net/source/${pkgname}_r${pkgver}.tar.gz)
+md5sums=('1a6ac52e1080fd54f0f59372345f1e4e')
+
+build() {
+ mkdir "${srcdir}/${pkgname}_r${pkgver}/build"
+ cd "${srcdir}/${pkgname}_r${pkgver}/build"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}_r${pkgver}/build"
+ make DESTDIR="${pkgdir}/" install
+
+ mkdir -p "${pkgdir}/usr/include/cuetools"
+ install -Dm644 "${srcdir}"/${pkgname}_r${pkgver}/include/cuetools/{cd,cdtext,cuefile}.h \
+ "${pkgdir}/usr/include/cuetools"
+}
+
+# vim:set ts=2 sw=2 et: