lib32/lib32-jack/PKGBUILD
Samir 850fefed49 added $_pkgbasename=$pkgver to most packages
This has been scripted, some might have been missed some PKGBUILDS
might be broken, so please chock when building.
2012-10-31 14:53:16 +00:00

39 lines
979 B
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=jack
pkgname=lib32-$_pkgbasename
_longname=jack-audio-connection-kit
pkgver=0.121.3
pkgrel=1
pkgdesc="A low-latency audio server (32-bit)"
arch=('x86_64')
license=('GPL' 'LGPL')
depends=('lib32-glibc' $_pkgbasename=$pkgver)
makedepends=(gcc-multilib)
url="http://jackaudio.org/"
options=('!libtool')
source=(http://jackaudio.org/downloads/${_longname}-${pkgver}.tar.gz)
md5sums=('35f470f7422c37b33eb965033f7a42e8')
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
}