renamed portaudio from portaudio-svn to portaudio

This commit is contained in:
AlmAck 2014-07-05 23:01:54 +02:00
parent 0ba4e64704
commit 04180e45fc
2 changed files with 29 additions and 44 deletions

View File

@ -1,44 +0,0 @@
# Maintainer: abveritas@chakra-project.org
pkgname=portaudio-svn
pkgver=1870
pkgrel=1
pkgdesc="PortAudio is a free, cross platform, open-source, audio I/O library."
arch=('x86_64')
url="http://www.portaudio.com"
license="custom"
depends=('jack')
makedepends=('subversion')
conflicts=('portaudio')
provides=('portaudio')
_svntrunk=https://subversion.assembla.com/svn/portaudio/portaudio/trunk
_svnmod=trunk
build() {
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 cmake and 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
make
}
package() {
cd $_svnmod-build
make DESTDIR=${pkgdir} install
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}

29
portaudio/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# Maintainer: almack@chakraos.org
pkgname=portaudio
pkgver=19_20140130
pkgrel=1
pkgdesc="PortAudio is a free, cross platform, open-source, audio I/O library."
arch=('x86_64')
url="http://www.portaudio.com"
license="custom"
depends=('gcc-libs' 'jack')
conflicts=('portaudio-svn')
provides=('portaudio-svn')
replaces=('portaudio-svn')
source=("http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz")
md5sums=('7f220406902af9dca009668e198cbd23')
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr --with-alsa --with-jack
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
install -Dm0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}