[arch-commits] Commit in osc2midi/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 26 21:24:49 UTC 2018
Date: Monday, November 26, 2018 @ 21:24:48
Author: dvzrv
Revision: 409897
archrelease: copy trunk to community-x86_64
Added:
osc2midi/repos/community-x86_64/
osc2midi/repos/community-x86_64/PKGBUILD
(from rev 409896, osc2midi/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: osc2midi/repos/community-x86_64/PKGBUILD (from rev 409896, osc2midi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-11-26 21:24:48 UTC (rev 409897)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=OSC2MIDI
+pkgname=osc2midi
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="A highly flexible and configurable OSC to JACK MIDI (and back) bridge"
+arch=('x86_64')
+url="https://github.com/ssj71/osc2midi"
+license=('GPL3')
+groups=('pro-audio')
+depends=('jack' 'liblo')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ssj71/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('ef29e47157d112f4960d61e14b0568de911da21c4ecef30e93d569a3806f91dece87d81b9c69bf67b3b7a5448f6c5f82b3f3ec7714874e4728b34cf2684ca352')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ mkdir -v build
+}
+
+build() {
+ cd "$pkgname-$pkgver/build"
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir/" install
+ install -vDm 644 ../{README,syntax}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list