diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bef768ef54e3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ocaml-bjack + pkgdesc = OCaml blocking JACK API + pkgver = 0.1.5 + pkgrel = 1 + url = https://github.com/savonet/ocaml-bjack + arch = i686 + arch = x86_64 + license = LGPL2.1 + makedepends = ocaml-findlib + depends = ocaml + depends = jack + options = !strip + source = https://github.com/savonet/ocaml-bjack/releases/download/0.1.5/ocaml-bjack-0.1.5.tar.gz + md5sums = 684b2bac4b55d7ef35c72d42f32eee3f + +pkgname = ocaml-bjack + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e146bbb48432 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> + +pkgname=ocaml-bjack +pkgver=0.1.5 +pkgrel=1 +license=('LGPL2.1') +arch=('i686' 'x86_64') +pkgdesc=("OCaml blocking JACK API") +url="https://github.com/savonet/ocaml-bjack" +depends=('ocaml' 'jack') +makedepends=('ocaml-findlib') +source=("https://github.com/savonet/ocaml-bjack/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") +options=('!strip') +md5sums=('684b2bac4b55d7ef35c72d42f32eee3f') + +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 +} |