blob: 3682e2953551e206eb17b86ac85bbfc538d4435b (
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
|
# $Id: PKGBUILD 103013 2013-12-25 16:46:04Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=libreplaygain
pkgver=475
pkgrel=2
pkgdesc="A library to adjust audio gain"
arch=('i686' 'x86_64' 'mips64el')
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/
}
|