upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / osc2midi / trunk / PKGBUILD
blobb95d92fa0f64dffc5657d795d4beee73783686b3
1 # Maintainer: David Runge <dave@sleepmap.de>
2 _name=OSC2MIDI
3 pkgname=osc2midi
4 pkgver=0.2.5
5 pkgrel=2
6 pkgdesc="A highly flexible and configurable OSC to JACK MIDI (and back) bridge"
7 arch=('x86_64')
8 url="https://github.com/ssj71/osc2midi"
9 license=('GPL3')
10 groups=('pro-audio')
11 depends=('jack' 'liblo')
12 makedepends=('cmake')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/ssj71/${pkgname}/archive/v${pkgver}.tar.gz")
14 sha512sums=('ef29e47157d112f4960d61e14b0568de911da21c4ecef30e93d569a3806f91dece87d81b9c69bf67b3b7a5448f6c5f82b3f3ec7714874e4728b34cf2684ca352')
16 prepare() {
17   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
18   cd "$pkgname-$pkgver"
19   mkdir -v build
22 build() {
23   cd "$pkgname-$pkgver/build"
24   cmake .. \
25         -DCMAKE_INSTALL_PREFIX=/usr
28 package() {
29   cd "$pkgname-$pkgver/build"
30   make DESTDIR="$pkgdir/" install
31   install -vDm 644 ../{README,syntax}.md -t "${pkgdir}/usr/share/doc/${pkgname}"