Last active
December 31, 2015 10:09
-
-
Save cocreature/7971146 to your computer and use it in GitHub Desktop.
libgig-svn pkgbuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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