Commit 91c32992 authored by AlmAck's avatar AlmAck

lib32-portaudio-svn renamed in lib32-portaudio (update to version 19_20140130)

parent ef901ba1
...@@ -3,51 +3,38 @@ ...@@ -3,51 +3,38 @@
# Maintainer: Neophytos Kolokotronis <> # Maintainer: Neophytos Kolokotronis <>
# Contributor from AUR: josephgbr <> # Contributor from AUR: josephgbr <>
_pkgbasename=portaudio-svn _pkgbasename=portaudio
pkgname=lib32-${_pkgbasename} pkgname=lib32-${_pkgbasename}
pkgver=1870 pkgver=19_20140130
pkgrel=2 pkgrel=1
pkgdesc="A free, cross platform, open-source, audio I/O library. (32 bit)" pkgdesc="A free, cross platform, open-source, audio I/O library. (32 bit)"
arch=('x86_64') arch=('x86_64')
url="" url=""
license="custom" license="custom"
depends=('lib32-alsa-lib' 'lib32-jack' $_pkgbasename=$pkgver) depends=('lib32-alsa-lib' 'lib32-jack' $_pkgbasename=$pkgver)
makedepends=('subversion' 'gcc-multilib') makedepends=('subversion' 'gcc-multilib')
conflicts=('lib32-portaudio') conflicts=('lib32-portaudio-svn')
provides=('lib32-portaudio') provides=('lib32-portaudio-svn')
options=('!libtool') options=('!libtool')
_svntrunk= source=("$pkgver.tgz")
_svnmod=portaudio md5sums=('7f220406902af9dca009668e198cbd23')
build() { build() {
cd "$srcdir/$_pkgbasename"
export CC='gcc -m32' export CC='gcc -m32'
export CXX='g++ -m32' export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
msg "Connecting to SVN server...."
if [[ -d "${_svnmod}/.svn" ]]; then
(cd "${_svnmod}" && svn up -r "${pkgver}")
svn co "${_svntrunk}" --config-dir ./ -r "${pkgver}" "${_svnmod}"
msg "SVN checkout done or server timeout"
msg "Starting build..."
rm -rf "${srcdir}/${_svnmod}-build"
svn export --quiet "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
cd "${srcdir}/${_svnmod}-build"
./configure --prefix=/usr --with-alsa --with-jack --libdir=/usr/lib32 ./configure --prefix=/usr --with-alsa --with-jack --libdir=/usr/lib32
make make
} }
package() { package() {
cd "${_svnmod}-build" cd "$srcdir/$_pkgbasename"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/include" rm -rf "${pkgdir}/usr/include"
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment