summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ5lx2015-10-10 21:07:47 +0200
committerJ5lx2015-10-10 21:07:47 +0200
commit2239a1b6f93341803ac2b25af2686664047f4f7a (patch)
treee08fa8f5abaaa1a3dab4a3490a39bc68757447d6
downloadaur-2239a1b6f93341803ac2b25af2686664047f4f7a.tar.gz
0.1.2-1: Initial package
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD29
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..44ec1a01efa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ocaml-dssi
+ pkgdesc = OCaml bindings for dssi plugins
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/savonet/ocaml-dssi
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = ocaml-findlib
+ makedepends = dssi
+ makedepends = ladspa
+ depends = ocaml
+ depends = ocaml-ladspa
+ options = !strip
+ source = https://github.com/savonet/ocaml-dssi/releases/download/0.1.2/ocaml-dssi-0.1.2.tar.gz
+ md5sums = 9fe0b20291e33676e8f33a445e8d3ee8
+
+pkgname = ocaml-dssi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..97db5592e36
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgname=ocaml-dssi
+pkgver=0.1.2
+pkgrel=1
+license=('GPL2')
+arch=('i686' 'x86_64')
+pkgdesc=("OCaml bindings for dssi plugins")
+url="https://github.com/savonet/ocaml-dssi"
+depends=('ocaml' 'ocaml-ladspa')
+makedepends=('ocaml-findlib' 'dssi' 'ladspa')
+source=("https://github.com/savonet/ocaml-dssi/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+options=('!strip')
+md5sums=('9fe0b20291e33676e8f33a445e8d3ee8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
+ mkdir -p "${OCAMLFIND_DESTDIR}/stublibs"
+ make install
+}