updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lv2-mdaepiano-git / PKGBUILD
blobadefdef3ac150be9f7506a5378f17ac0f2ca1b80
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=lv2-mdaepiano-git
4 pkgver=20101021
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=('libsigc++' 'gtkmm')
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() {
20   cd "$srcdir"
21   msg "Connecting to GIT server...."
23   if [ -d $_gitname ] ; then
24     cd $_gitname && git pull origin
25     msg "The local files are updated."
26   else
27     git clone $_gitroot $_gitname
28   fi
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33   rm -rf "$srcdir/$_gitname-build"
34   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35   cd "$srcdir/$_gitname-build"
37   #
38   # BUILD HERE
39   #
41   make
44 package() {
46   cd "$srcdir/$_gitname-build"
48   make INSTALL_DIR="$pkgdir/usr/lib/lv2" install
49