lib32/lib32-jack/PKGBUILD

36 lines
949 B
Bash
Raw Normal View History

2011-01-16 02:13:42 +08:00
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# contributor (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
2011-01-16 02:13:42 +08:00
_pkgbasename=jack
pkgname=lib32-$_pkgbasename
_longname=jack-audio-connection-kit
pkgver=0.124.1
pkgrel=1
2011-01-16 02:13:42 +08:00
pkgdesc="A low-latency audio server (32-bit)"
arch=('x86_64')
license=('GPL' 'LGPL')
depends=("$_pkgbasename=$pkgver" 'lib32-db' 'lib32-libsamplerate' 'lib32-readline')
makedepends=('gcc-multilib')
2011-01-16 02:13:42 +08:00
url="http://jackaudio.org/"
source=("http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz")
md5sums=('d64e90121be8a54860b870a726fb5b5d')
2011-01-16 02:13:42 +08:00
build() {
cd "${srcdir}/${_longname}-${pkgver}"
2011-01-16 02:13:42 +08:00
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
./configure --prefix=/usr --libdir=/usr/lib32
make -C libjack
}
package() {
cd ${srcdir}/${_longname}-${pkgver}
make DESTDIR="${pkgdir}" install-pkgconfigDATA
make -C libjack DESTDIR="${pkgdir}" install
2011-01-16 02:13:42 +08:00
}