db-move: moved linux from [testing] to [core] (x86_64)
[arch-packages.git] / wildmidi / repos / extra-x86_64 / PKGBUILD
blob2877a44867df015e093ca648356792d834a09590
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 # Contributor: Panagiotis Papadopoulos
5 pkgname=wildmidi
6 pkgver=0.4.5
7 pkgrel=1
8 pkgdesc='Open Source MIDI Synthesizer'
9 arch=('x86_64')
10 url="https://www.mindwerks.net/projects/wildmidi/"
11 license=('LGPL3')
12 depends=('alsa-lib')
13 makedepends=('cmake')
14 source=(https://github.com/psi29a/wildmidi/archive/wildmidi-${pkgver}.tar.gz)
15 sha256sums=('116c0f31d349eaa74a630ed5a9a17b6a351204877a4ed9fb9aacd9dbd7f6c874')
17 build() {
18   cmake -B build -S $pkgname-$pkgname-$pkgver \
19     -DCMAKE_INSTALL_PREFIX=/usr
20   cmake --build build
23 package() {
24   DESTDIR="${pkgdir}" cmake --install build
25   ln -s wildmidi.pc "$pkgdir/usr/lib/pkgconfig/WildMIDI.pc"