Date: Tuesday, February 4, 2014 @ 13:22:02 Author: jgc Revision: 205080
upgpkg: wildmidi 0.3.2-1 Modified: wildmidi/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-04 12:15:37 UTC (rev 205079) +++ PKGBUILD 2014-02-04 12:22:02 UTC (rev 205080) @@ -3,25 +3,28 @@ # Contributor: Panagiotis Papadopoulos pkgname=wildmidi -pkgver=0.2.3.5 -pkgrel=2 +pkgver=0.3.2 +pkgrel=1 pkgdesc='Open Source MIDI Synthesizer' arch=('i686' 'x86_64') -url='http://wildmidi.sourceforge.net/' +url="http://www.mindwerks.net/projects/wildmidi/" license=('LGPL3') depends=('alsa-lib') -options=(!makeflags) -source=(http://sourceforge.net/projects/wildmidi/files/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('44583c95fd67761f8cd6275fd1c312f2') +makedepends=('cmake') +source=(https://github.com/psi29a/wildmidi/archive/wildmidi-${pkgver}.tar.gz) +md5sums=('9fda0b9d5290af9516e2da576103fab8') +prepare() { + mkdir build +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr --disable-werror + cd build + cmake -D CMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd build make DESTDIR="${pkgdir}" install }