summaryrefslogtreecommitdiff
path: root/extra/wildmidi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wildmidi/PKGBUILD')
-rw-r--r--extra/wildmidi/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/wildmidi/PKGBUILD b/extra/wildmidi/PKGBUILD
index 76ae766f6..62324cf9d 100644
--- a/extra/wildmidi/PKGBUILD
+++ b/extra/wildmidi/PKGBUILD
@@ -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')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ mkdir build
+}
- ./configure --prefix=/usr --disable-werror
+build() {
+ cd build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr ../$pkgname-$pkgname-$pkgver
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd build
make DESTDIR="${pkgdir}" install
}