lib32/lib32-jack/PKGBUILD

37 lines
922 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
2012-09-10 06:02:27 +08:00
pkgver=0.121.3
pkgrel=2
2011-01-16 02:13:42 +08:00
pkgdesc="A low-latency audio server (32-bit)"
arch=('x86_64')
license=('GPL' 'LGPL')
depends=('lib32-glibc' $_pkgbasename=$pkgver)
2011-01-16 02:13:42 +08:00
makedepends=(gcc-multilib)
url="http://jackaudio.org/"
options=('!libtool')
source=(http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz)
2012-09-10 06:02:27 +08:00
md5sums=('35f470f7422c37b33eb965033f7a42e8')
2011-01-16 02:13:42 +08:00
build() {
cd ${srcdir}/${_longname}-${pkgver}
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
}