PKGBUILDs/community/a2jmidid/PKGBUILD
2019-09-24 00:01:41 +00:00

34 lines
1.1 KiB
Bash

# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: Jiyunatori <tori@0xc29.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use arch-meson to capture defaults (like disabled LTO)
pkgname=a2jmidid
pkgver=9
pkgrel=1
pkgdesc="A daemon for exposing legacy ALSA sequencer applications in JACK MIDI system."
arch=('x86_64')
url="https://github.com/linuxaudio/a2jmidid"
license=('GPL2')
groups=('pro-audio')
arch=('x86_64')
depends=('jack' 'dbus')
makedepends=('meson')
optdepends=('python-dbus: for a2j and a2j_control')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxaudio/${pkgname}/archive/${pkgver}.tar.gz")
sha512sums=('5bd13b6904ed68c5bfe40ca516fd49b7eb4d4a946b9908ee04687265848734c8e1a81579f0f1a5bd0752595be8858dc748da10487b7f366394c09a5ffc7d5e5c')
build() {
cd "${pkgname}-${pkgver}"
arch-meson build
ninja -C build
}
package() {
cd "${pkgname}-${pkgver}"
DESTDIR="${pkgdir}" meson install -C build
install -vDm 644 {AUTHORS,CHANGELOG,INSTALLATION,README}.rst \
-t "${pkgdir}/usr/share/doc/${pkgname}"
}