Skip to content

Instantly share code, notes, and snippets.

@cocreature
Last active December 31, 2015 10:09
Show Gist options
  • Save cocreature/7971146 to your computer and use it in GitHub Desktop.
Save cocreature/7971146 to your computer and use it in GitHub Desktop.
libgig-svn pkgbuild
# Maintainer: Moritz Kiefer <moritz.kiefer at gmail dot com>
# Maintainer: Jiri Prochazka <[email protected]>
pkgname=libgig-svn
_pkgname="${pkgname%-svn}"
pkgver=r2483
pkgrel=1
pkgdesc="Gigasampler file access library"
arch=("i686" "x86_64")
url="http://www.linuxsampler.org/"
license=("GPL")
depends=("libsndfile"
"gcc-libs-multilib"
"util-linux")
makedepends=("subversion")
optdepends=()
provides=('libgig')
conflicts=('libgig')
source=("$pkgname"::"svn+https://svn.linuxsampler.org/svn/$_pkgname/trunk")
md5sums=('SKIP')
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment