public
Last active

linuxsampler-svn pkgbuild

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
# Maintainer: Moritz Kiefer <moritz.kiefer at gmail dot com>
# Contributor: Jiri Prochazka <ojirio at gmail dot com>
# Contributor: orbisvicis <orbisvicis at gmail dot com>
# Contributor: Tom Vincent <http://tlvince.com/contact/>
 
pkgname=linuxsampler-svn
_pkgname="${pkgname%-svn}"
pkgver=r2483
pkgrel=1
pkgdesc="Sampler backend, including sampler engine, audio and MIDI drivers, network layer (LSCP) API and native C++ API"
arch=("i686" "x86_64")
url="http://www.linuxsampler.org/"
license=("GPL" "custom")
depends=("libgig-svn" "jack" "sqlite3" "util-linux")
makedepends=("subversion" "ladspa" "dssi")
optdepends=()
provides=('linuxsampler')
conflicts=('linuxsampler')
options=("libtool")
source=("$pkgname"::"svn+https://svn.linuxsampler.org/svn/$_pkgname/trunk"
"license.txt")
sha256sums=('SKIP'
'fe9613dc00d4dafdbe9132ba00e82b0c6f333c53dffe02e29a8dfe1753c7b622')
 
pkgver() {
cd "$srcdir/$pkgname"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
 
build() {
cd "$srcdir/$pkgname"
make -f Makefile.cvs
./configure --prefix=/usr
make
}
 
package() {
cd "$srcdir/$pkgname"
make DESTDIR=$pkgdir install
 
# install GPL exception statement
install -Dm0644 ../license.txt "${pkgdir}/usr/share/licenses/$pkgname/GPL-EXCEPTION"
 
# add linuxsampler library path to ld.so.conf.d
install -m0755 -d "$pkgdir/etc/ld.so.conf.d"
echo "/usr/lib/$_pkgname" > "$pkgdir/etc/ld.so.conf.d/$_pkgname.conf"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.