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 @@
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor from AUR: josephgbr <rafael.f.f1@gmail.com>
_pkgbasename=portaudio-svn
_pkgbasename=portaudio
pkgname=lib32-${_pkgbasename}
pkgver=1870
pkgrel=2
pkgver=19_20140130
pkgrel=1
pkgdesc="A free, cross platform, open-source, audio I/O library. (32 bit)"
arch=('x86_64')
url="http://www.portaudio.com"
license="custom"
depends=('lib32-alsa-lib' 'lib32-jack' $_pkgbasename=$pkgver)
makedepends=('subversion' 'gcc-multilib')
conflicts=('lib32-portaudio')
provides=('lib32-portaudio')
conflicts=('lib32-portaudio-svn')
provides=('lib32-portaudio-svn')
replaces=('lib32-portaudio-svn')
options=('!libtool')
_svntrunk=https://subversion.assembla.com/svn/portaudio/portaudio/trunk
_svnmod=portaudio
source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
md5sums=('7f220406902af9dca009668e198cbd23')
build() {
cd "$srcdir/$_pkgbasename"
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
msg "Connecting to SVN server...."
if [[ -d "${_svnmod}/.svn" ]]; then
(cd "${_svnmod}" && svn up -r "${pkgver}")
else
svn co "${_svntrunk}" --config-dir ./ -r "${pkgver}" "${_svnmod}"
fi
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"
#
# BUILD HERE
#
./configure --prefix=/usr --with-alsa --with-jack --libdir=/usr/lib32
make
}
package() {
cd "${_svnmod}-build"
cd "$srcdir/$_pkgbasename"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/include"
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