updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lv2-mdaepiano-git / PKGBUILD
blobce69747bb04fc8acc45e98ee99df9daa3d0338ef
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lv2-mdaepiano-git
4 pkgver=20120113
5 pkgrel=1
6 pkgdesc="Native LV2 port of the famous mda e-piano VSTi plugin"
7 arch=('i686' 'x86_64')
8 url="http://github.com/rekado/lv2-mdaEPiano"
9 license=('GPL2')
10 depends=('lv2core')
11 makedepends=('git' 'lv2-c++-tools')
12 provides=('lv2-mdaepiano')
13 conflicts=('lv2-mdaepiano')
15 _gitroot="http://github.com/rekado/lv2-mdaEPiano.git"
16 _gitname="lv2-mdaepiano"
18 build() {
19   cd "$srcdir"
20   msg "Connecting to GIT server...."
22   if [ -d $_gitname ] ; then
23     cd $_gitname && git pull origin
24     msg "The local files are updated."
25   else
26     git clone $_gitroot $_gitname
27   fi
29   msg "GIT checkout done or server timeout"
30   msg "Starting make..."
32   rm -rf "$srcdir/$_gitname-build"
33   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34   cd "$srcdir/$_gitname-build"
36   #
37   # BUILD HERE
38   #
39   make
42 package() {
43   cd "$srcdir/$_gitname-build"
45   make INSTALL_DIR="$pkgdir/usr/lib/lv2" install
46