diff options
-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 10:03:40 UTC 2017 pkgbase = ocaml-lame pkgdesc = OCaml bindings to the LAME mp3 encoder - pkgver = 0.3.3 - pkgrel = 2 + pkgver = 0.3.4 + pkgrel = 1 url = https://github.com/savonet/ocaml-lame arch = i686 arch = x86_64 license = GPL2 - makedepends = ocaml-findlib + makedepends = dune depends = ocaml depends = lame options = !strip - source = https://github.com/savonet/ocaml-lame/releases/download/0.3.3/ocaml-lame-0.3.3.tar.gz - md5sums = a1585835f94f8d459157263ed2aaede3 + source = https://github.com/savonet/ocaml-lame/archive/v0.3.4.tar.gz + sha256sums = f90b9e090b3fc27437b64dd05c15b92778f07cf4f3d82e0f8186299cb8e1102d pkgname = ocaml-lame @@ -1,29 +1,29 @@ -# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> +# Maintainer: robertfoster +# Contributor: Jakob Gahde <j5lx@fmail.co.uk> pkgname=ocaml-lame -pkgver=0.3.3 -pkgrel=2 +pkgver=0.3.4 +pkgrel=1 pkgdesc="OCaml bindings to the LAME mp3 encoder" arch=('i686' 'x86_64') url="https://github.com/savonet/ocaml-lame" license=('GPL2') depends=('ocaml' 'lame') -makedepends=('ocaml-findlib') +makedepends=('dune') options=('!strip') -source=("https://github.com/savonet/ocaml-lame/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") -md5sums=('a1585835f94f8d459157263ed2aaede3') +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=('f90b9e090b3fc27437b64dd05c15b92778f07cf4f3d82e0f8186299cb8e1102d') |