summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhammen2019-02-03 12:01:04 -0800
committerjhammen2019-02-03 12:01:04 -0800
commita266f1c29ca977824bb4efad193c89674938c863 (patch)
tree56a61aa46318e90536a5ed54f682971fe937b222
downloadaur-a266f1c29ca977824bb4efad193c89674938c863.tar.gz
initial packaging release
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD34
-rw-r--r--bipscript-v0.4.patch11
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b12bd7bf975
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = bipscript
+ pkgdesc = A scripting language for interactive music
+ pkgver = 0.4
+ pkgrel = 1
+ url = http://www.bipscript.org
+ arch = i686
+ arch = x86_64
+ groups = pro-audio
+ license = GPL
+ makedepends = cmake
+ makedepends = boost
+ makedepends = lv2
+ depends = boost-libs
+ depends = fftw
+ depends = lilv
+ depends = liblo
+ depends = portsmf
+ provides = bipscript
+ conflicts = bipscript
+ source = https://github.com/bipscript/bipscript/archive/v0.4.tar.gz
+ source = bipscript-v0.4.patch
+ md5sums = 73ecad2eca761dbbe40e92ae2484066a
+ md5sums = c775c269b2b654289b93e34858a85699
+
+pkgname = bipscript
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9ffa19db559
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: John Hammen <jhammen@j2page.com>
+pkgname=bipscript
+pkgver=0.4
+pkgrel=1
+pkgdesc="A scripting language for interactive music"
+arch=('i686' 'x86_64')
+url="http://www.bipscript.org"
+license=('GPL')
+groups=('pro-audio')
+depends=('boost-libs' 'fftw' 'lilv' 'liblo' 'portsmf')
+makedepends=('cmake' 'boost' 'lv2')
+provides=("bipscript")
+conflicts=("bipscript")
+source=("https://github.com/bipscript/$pkgname/archive/v$pkgver.tar.gz"
+ "$pkgname-v$pkgver.patch")
+md5sums=('73ecad2eca761dbbe40e92ae2484066a'
+ 'c775c269b2b654289b93e34858a85699')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p2 -i "$srcdir/$pkgname-v$pkgver.patch"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
diff --git a/bipscript-v0.4.patch b/bipscript-v0.4.patch
new file mode 100644
index 00000000000..bd3b3c3aeee
--- /dev/null
+++ b/bipscript-v0.4.patch
@@ -0,0 +1,11 @@
+--- ./src/bipscript-0.4/src/midifile.cpp 2018-12-11 08:50:57.000000000 -0800
++++ ../bipscript/src/midifile.cpp 2019-02-02 16:46:39.819996298 -0800
+@@ -2,7 +2,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <fstream>
+-#include <portSMF/allegro.h>
++#include <portsmf/allegro.h>
+
+ namespace bipscript {
+ namespace midi {