diff options
author | Gianluca Boiano | 2021-02-28 21:30:26 +0100 |
---|---|---|
committer | Gianluca Boiano | 2021-02-28 21:30:26 +0100 |
commit | 2fc65f61fcacc522eb3e10eefab00b4a623add43 (patch) | |
tree | ffac74a9a2713dcf591a57d18db4b80db80968f0 | |
parent | 6bc941e220e68196b09726c919d0b1607ab98e36 (diff) | |
download | aur-2fc65f61fcacc522eb3e10eefab00b4a623add43.tar.gz |
ocaml-ao: 0.2.3
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 18 insertions, 20 deletions
@@ -1,19 +1,17 @@ -# Generated by mksrcinfo v8 -# Tue Jun 6 09:14:14 UTC 2017 pkgbase = ocaml-ao pkgdesc = OCaml libao bindings - pkgver = 0.2.1 - pkgrel = 2 + pkgver = 0.2.3 + pkgrel = 1 url = https://github.com/savonet/ocaml-ao arch = i686 arch = x86_64 license = LGPL2.1 - makedepends = ocaml-findlib + makedepends = dune depends = ocaml depends = libao options = !strip - source = https://github.com/savonet/ocaml-ao/releases/download/0.2.1/ocaml-ao-0.2.1.tar.gz - md5sums = 7f763e8c47e8369274ee400c640532d4 + source = https://github.com/savonet/ocaml-ao/archive/v0.2.3.tar.gz + sha256sums = 188f781ef31497444475ced4632ebe44e3d80ddc5717f1f6cd8e1080a43c0851 pkgname = ocaml-ao @@ -1,29 +1,29 @@ -# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> +# Maintainer: robertfoster +# Contributor: Jakob Gahde <j5lx@fmail.co.uk> pkgname=ocaml-ao -pkgver=0.2.1 -pkgrel=2 +pkgver=0.2.3 +pkgrel=1 pkgdesc="OCaml libao bindings" arch=('i686' 'x86_64') url="https://github.com/savonet/ocaml-ao" license=('LGPL2.1') depends=('ocaml' 'libao') -makedepends=('ocaml-findlib') +makedepends=('dune') options=('!strip') -source=("https://github.com/savonet/ocaml-ao/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") -md5sums=('7f763e8c47e8369274ee400c640532d4') +source=("${url}/archive/v${pkgver}.tar.gz") build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" - ./configure - make + dune build } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver}" - export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" - mkdir -p "${OCAMLFIND_DESTDIR}/stublibs" - make install + dune install --prefix "${pkgdir}/usr" \ + --libdir "${pkgdir}$(ocamlfind printconf destdir)" } + +sha256sums=('188f781ef31497444475ced4632ebe44e3d80ddc5717f1f6cd8e1080a43c0851') |