summaryrefslogtreecommitdiff
path: root/community/libreplaygain
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-03 12:50:27 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-03 12:50:27 -0300
commit692010aa202808a5b0ab62a132e5e366e34273fc (patch)
treea2c48fc9ef2c8ae3f6d1ff4f0905c36257fc9707 /community/libreplaygain
parent01dfa0016c313f5ec5be0a8b624bac5031ff74a8 (diff)
parent6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/lightspark/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/shotwell/PKGBUILD
Diffstat (limited to 'community/libreplaygain')
-rw-r--r--community/libreplaygain/PKGBUILD34
1 files changed, 21 insertions, 13 deletions
diff --git a/community/libreplaygain/PKGBUILD b/community/libreplaygain/PKGBUILD
index 7c075ef47..c4b978d51 100644
--- a/community/libreplaygain/PKGBUILD
+++ b/community/libreplaygain/PKGBUILD
@@ -1,6 +1,9 @@
-# Maintainer: Corrado Primier <bardo@aur.archlinux.org>
+# $Id: PKGBUILD 57695 2011-11-01 10:46:06Z andrea $
+# Maintainer:
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+
pkgname=libreplaygain
-pkgver=453
+pkgver=475
pkgrel=1
pkgdesc="A library to adjust audio gain"
arch=('i686' 'x86_64' 'mips64el')
@@ -8,19 +11,24 @@ 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=('1bde8f0319fd2a2b9921b2a2dfc47655')
+source=("http://files.musepack.net/source/${pkgname}_r${pkgver}.tar.gz")
+md5sums=('e27b3b1249b7fbae92d656d9e3d26633')
build() {
- mkdir "${srcdir}/${pkgname}_r${pkgver}/build"
- cd "${srcdir}/${pkgname}_r${pkgver}/build"
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}_r${pkgver}/ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make DESTDIR="${pkgdir}/" install
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
- mkdir -p "${pkgdir}/usr/include/replaygain/"
- install -Dm644 ${srcdir}/${pkgname}_r${pkgver}/include/replaygain/* \
- ${pkgdir}/usr/include/replaygain/
+ install -d "${pkgdir}/usr/include/replaygain/"
+ install -Dm644 "${srcdir}"/${pkgname}_r${pkgver}/include/replaygain/* \
+ "${pkgdir}/usr/include/replaygain/"
}
-
-# vim:set ts=2 sw=2 et: