summaryrefslogtreecommitdiff
path: root/community/libreplaygain/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/libreplaygain/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/libreplaygain/PKGBUILD')
-rw-r--r--community/libreplaygain/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libreplaygain/PKGBUILD b/community/libreplaygain/PKGBUILD
new file mode 100644
index 000000000..19505622d
--- /dev/null
+++ b/community/libreplaygain/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 57695 2011-11-01 10:46:06Z andrea $
+# Maintainer:
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+
+pkgname=libreplaygain
+pkgver=475
+pkgrel=1
+pkgdesc="A library to adjust audio gain"
+arch=('i686' 'x86_64')
+url="http://www.musepack.net/index.php?pg=src"
+license=('LGPL')
+depends=('glibc')
+makedepends=('cmake')
+source=("http://files.musepack.net/source/${pkgname}_r${pkgver}.tar.gz")
+md5sums=('e27b3b1249b7fbae92d656d9e3d26633')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}_r${pkgver}/ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}/usr/include/replaygain/"
+ install -Dm644 "${srcdir}"/${pkgname}_r${pkgver}/include/replaygain/* \
+ "${pkgdir}/usr/include/replaygain/"
+}