archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / non-sequencer / trunk / PKGBUILD
blob49f6f12987df4a481b515db99803a491a244166c
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=non-sequencer
4 pkgver=1.10.0
5 pkgrel=3
6 pkgdesc="A powerful, lightweight, real-time, pattern-based MIDI sequencer"
7 arch=(x86_64)
8 url="https://non.tuxfamily.org/"
9 license=(GPL3)
10 groups=(
11   non-daw
12   pro-audio
14 depends=(
15   cairo
16   gcc-libs
17   glibc
18   hicolor-icon-theme
19   libsigc++
20   libx11
22 makedepends=(
23   jack
24   liblo
25   ntk
26   waf
28 source=(https://github.com/linuxaudio/non/archive/$pkgname-v$pkgver/non-$pkgname-v$pkgver.tar.gz)
29 sha512sums=('75eb88f15e15ecaf3fe7d82e0a020adf9e8239d2c6da3ff9035d3d8c86a913d7a74c6acc0b7c5fada9f18fc64cb116ed2065f10bc63acbeea9501f9c7309a3ed')
30 b2sums=('a41d7e42545520501bc2d917d4dcc898a1b14f666f7fb01300ff2086117fb6d5a0d206e3e220a63d1d8087e8a44f97543ecaf88c11bbe4468e532d323c504c3d')
32 build() {
33   cd non-$pkgname-v$pkgver
35   export LINKFLAGS="$LDFLAGS"
36   CXXFLAGS+=" -std=c++14"
37   waf configure --prefix=/usr --project=sequencer --disable-native-cpu-optimization
38   waf
41 package() {
42   depends+=(
43     jack libjack.so
44     liblo liblo.so
45     ntk libntk.so libntk_images.so
46   )
48   cd non-$pkgname-v$pkgver
49   waf --destdir="$pkgdir" install