diff options
author | David Zmick | 2017-02-27 20:05:15 -0600 |
---|---|---|
committer | David Zmick | 2017-02-27 20:05:15 -0600 |
commit | 92f0be78bce34db567fc82db568cc027bc1b13c0 (patch) | |
tree | f58ad2a933fccd287f17bfa57f1176b8c3f38e21 | |
parent | 997c9027d013d892e1836404070c77bceb560058 (diff) | |
download | aur-92f0be78bce34db567fc82db568cc027bc1b13c0.tar.gz |
pkgrel=1
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 56 |
2 files changed, 33 insertions, 42 deletions
@@ -1,16 +1,19 @@ pkgbase = jack-keyboard - pkgdesc = A virtual MIDI keyboard for JACK. - pkgver = 2.7.1 + pkgdesc = Virtual MIDI keyboard that uses JACK MIDI. + pkgver = 2.5 pkgrel = 1 + epoch = 0 url = http://jack-keyboard.sourceforge.net/ - install = jack-keyboard.install - arch = i686 arch = x86_64 + arch = i686 license = BSD - makedepends = cmake - depends = lash - source = http://downloads.sourceforge.net/project/jack-keyboard/jack-keyboard/2.7.1/jack-keyboard-2.7.1.tar.gz - md5sums = b89c9ac03e850ad1aa8b33ff62ea06a8 + depends = jack + depends = gtk2 + optdepends = lash: integrate with lash session management + options = makeflags + options = buildflags + source = https://downloads.sourceforge.net/project/jack-keyboard/jack-keyboard/2.5/jack-keyboard-2.5.tar.gz + md5sums = 030a666f1703ef1ab3eae6004cb04a9a pkgname = jack-keyboard @@ -1,43 +1,31 @@ -# Contributor: Robert Schwarz <mail@rschwarz.net> -# Contributor: SpepS <dreamspepser at yahoo dot it> -# Contributor: jwm-art <jwm.art.net at gmail.com> - +# Maintainer: David Zmick <dpzmick@gmail.com> pkgname=jack-keyboard -pkgver=2.7.1 +pkgver=2.5 pkgrel=1 -pkgdesc="A virtual MIDI keyboard for JACK." -arch=('i686' 'x86_64') +epoch=0 +pkgdesc="Virtual MIDI keyboard that uses JACK MIDI." +arch=('x86_64' 'i686') url="http://jack-keyboard.sourceforge.net/" license=('BSD') -depends=('lash') -makedepends=('cmake') -install="$pkgname.install" -source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") -md5sums=('b89c9ac03e850ad1aa8b33ff62ea06a8') +depends=('jack' 'gtk2') +# makedepends=() +optdepends=('lash: integrate with lash session management') # TODO what? +options=(makeflags buildflags) +source=("https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=("030a666f1703ef1ab3eae6004cb04a9a") +# validpgpkeys=() + +prepare() { + cd "$pkgname-$pkgver" + ./configure --prefix /usr +} build() { - cd "$srcdir/$pkgname-$pkgver" - - # man path fix - sed -i "s| man/man| share/man/man|" CMakeLists.txt - - # prevent bad assert failure with ladish - sed -i "/assert (event)/d" src/$pkgname.c - - # fix undefined reference to symbol 'g_thread_init' - sed -i "s|g_thread_init(NULL);|/*g_thread_init(NULL);*/|" src/jack-keyboard.c - - [ -d build ] || mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX=/usr .. - make + cd "$pkgname-$pkgver" + make } package() { - cd "$srcdir/$pkgname-$pkgver/build" - - make DESTDIR="$pkgdir/" install - - # license - install -Dm644 ../COPYING \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -}
\ No newline at end of file + cd "$pkgname-$pkgver" + make install DESTDIR=${pkgdir} +} |