diff options
Diffstat (limited to 'community/vmpk/PKGBUILD')
-rw-r--r-- | community/vmpk/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/vmpk/PKGBUILD b/community/vmpk/PKGBUILD index 5ce3556ad..5737bafe0 100644 --- a/community/vmpk/PKGBUILD +++ b/community/vmpk/PKGBUILD @@ -1,8 +1,9 @@ +# $Id: PKGBUILD 114946 2014-07-04 18:27:42Z speps $ # Maintainer : speps <speps at aur dot archlinux dot org> pkgname=vmpk pkgver=0.5.1 -pkgrel=1 +pkgrel=2 pkgdesc="Virtual MIDI Piano Keyboard" arch=('i686' 'x86_64') url="http://vmpk.sourceforge.net/" @@ -13,16 +14,19 @@ install="$pkgname.install" source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2") md5sums=('07e376936c38c7c244374ff9ddca6a72') -build() { - cd "$srcdir/$pkgname-$pkgver" +prepare() { + cd $pkgname-$pkgver + [ -d b ] || mkdir b +} - [ -d bld ] || mkdir bld && cd bld +build() { + cd $pkgname-$pkgver/b cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=release make } package() { - cd "$srcdir/$pkgname-$pkgver/bld" + cd $pkgname-$pkgver/b make DESTDIR="$pkgdir/" install } |