diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 01:50:04 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-12 01:50:04 +0100 |
commit | f3c4a49c72a7745127fc5a05a30f6e6a3daab079 (patch) | |
tree | 3a5da47825e7186428f60a589fc32b6bf3b844b7 /pcr/ocaml-react | |
parent | c33c98cb221e2b69b510188bb99b124cc1458163 (diff) | |
download | abslibre-f3c4a49c72a7745127fc5a05a30f6e6a3daab079.tar.gz abslibre-f3c4a49c72a7745127fc5a05a30f6e6a3daab079.tar.bz2 abslibre-f3c4a49c72a7745127fc5a05a30f6e6a3daab079.zip |
pcr/ocaml-react: updated to 1.2.1
Diffstat (limited to 'pcr/ocaml-react')
-rw-r--r-- | pcr/ocaml-react/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/pcr/ocaml-react/PKGBUILD b/pcr/ocaml-react/PKGBUILD index fe4472245..f58b34626 100644 --- a/pcr/ocaml-react/PKGBUILD +++ b/pcr/ocaml-react/PKGBUILD @@ -9,21 +9,22 @@ _pkgname=react pkgname=ocaml-${_pkgname} -pkgver=1.2.0 -pkgrel=3 +pkgver=1.2.1 +pkgrel=1 pkgdesc="An OCaml module for functional reactive programming" -arch=('i686' 'x86_64' 'armv7h') +arch=('i686' 'x86_64') +arch+=('armv7h') url="http://erratique.ch/software/react" license=('BSD') depends=('ocaml') -makedepends=('ocamlbuild' 'ocaml-findlib' 'opam') +makedepends=('ocamlbuild' 'ocaml-findlib' 'ocaml-topkg' 'opam') source=("http://erratique.ch/software/${_pkgname}/releases/${_pkgname}-${pkgver}.tbz") -md5sums=('f071a1308b6cad131c55cda8677823c3') +md5sums=('ce1454438ce4e9d2931248d3abba1fcc') build() { cd "${srcdir}/${_pkgname}-${pkgver}" - ocaml pkg/build.ml native=true native-dynlink=true + ocaml pkg/pkg.ml build } package() { @@ -32,4 +33,8 @@ package() { opam-installer --prefix=${pkgdir}/usr \ --libdir=${pkgdir}$(ocamlc -where) \ --docdir=${pkgdir}/usr/share/doc + + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + mv "${pkgdir}/usr/share/doc/react/LICENSE.md" \ + "${pkgdir}/usr/share/licenses/${pkgname}/" } |