blob: 72a06a49e3095562e64856a37e350ba9d307318a (
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
|
# $Id: PKGBUILD 61682 2012-01-06 14:16:07Z bluewind $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
_pkgbasename=libsamplerate
pkgname=lib32-$_pkgbasename
pkgver=0.1.8
pkgrel=1
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio (32-bit)"
arch=('x86_64')
url="http://www.mega-nerd.com/SRC/index.html"
license=('GPL')
depends=('lib32-libsndfile' $_pkgbasename)
makedepedns=('gcc-multilib')
options=('!libtool')
source=(http://www.mega-nerd.com/SRC/libsamplerate-${pkgver}.tar.gz)
md5sums=('1c7fb25191b4e6e3628d198a66a84f47')
sha1sums=('e5fe82c4786be2fa33ca6bd4897db4868347fe70')
build() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{include,share,bin}
}
|