diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 17:33:33 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-22 17:33:33 +0100 |
commit | b08524f3b6bf91497b4188e9a8f6d14a065fc5de (patch) | |
tree | 211e41c76590c8f9fd843e42a869a79f1d67721b /pcr/ocaml-pcre/PKGBUILD | |
parent | 2e1dcee66b827daf908342918bde7ef3c1defc8e (diff) | |
download | abslibre-b08524f3b6bf91497b4188e9a8f6d14a065fc5de.tar.gz abslibre-b08524f3b6bf91497b4188e9a8f6d14a065fc5de.tar.bz2 abslibre-b08524f3b6bf91497b4188e9a8f6d14a065fc5de.zip |
pcr/ocaml-pcre: updated to 7.2.3
Diffstat (limited to 'pcr/ocaml-pcre/PKGBUILD')
-rw-r--r-- | pcr/ocaml-pcre/PKGBUILD | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/pcr/ocaml-pcre/PKGBUILD b/pcr/ocaml-pcre/PKGBUILD index b2945798b..480b814a0 100644 --- a/pcr/ocaml-pcre/PKGBUILD +++ b/pcr/ocaml-pcre/PKGBUILD @@ -1,34 +1,41 @@ +# Maintainer (AUR: Jakob Gahde <j5lx@fmail.co.uk> +# Contributor (AUR): Leonard de Ruijter <leonard@aur.archlinux.org> # Contributor (Arch): Serge Zirukin <ftrvxmtrx@gmail.com> # Contributor (Arch): Sergei Lebedev <superbobry@gmail.com> # Contributor (Arch): Magnus Therning <magnus@therning.org> # Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io> +# parabola changes and rationale: +# no changes. + pkgname=ocaml-pcre -pkgver=7.0.2 +pkgver=7.2.3 pkgrel=2 pkgdesc="Perl compatible regular expressions for OCaml" -arch=('i686' 'x86_64') -url="http://www.ocaml.info/home/ocaml_sources.html#toc18" +arch=('i686' 'x86_64' 'armv7h') +url="http://mmottl.github.io/pcre-ocaml" license=('LGPL') -depends=('ocaml' 'pcre>=4.5') -makedepends=('ocaml-findlib') +depends=('pcre>=4.5') +makedepends=('ocaml-findlib' 'ocamlbuild') replaces=('pcre-ocaml') conflicts=('pcre-ocaml') -source=("https://bitbucket.org/mmottl/pcre-ocaml/downloads/pcre-ocaml-$pkgver.tar.gz") -md5sums=('412eec5674a8bab76ccd09e006a24e10') -options=(!strip) +options=('!strip' 'staticlibs') +source=("https://github.com/mmottl/pcre-ocaml/releases/download/v$pkgver/pcre-ocaml-$pkgver.tar.gz") +md5sums=('90b503355160d7422a7c3ef1623e6444') build() { - cd "$srcdir/pcre-ocaml-$pkgver" + cd "${srcdir}/pcre-ocaml-${pkgver}" - ./configure --disable-debug --prefix /usr --destdir "$pkgdir" + ./configure --disable-debug --prefix /usr --destdir "${pkgdir}" make all } package() { - cd "$srcdir/pcre-ocaml-$pkgver" - export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" - install -dm 755 "$OCAMLFIND_DESTDIR/stublibs" + cd "${srcdir}/pcre-ocaml-${pkgver}" + + export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" + install -dm755 "${OCAMLFIND_DESTDIR}/stublibs" make install - install -Dm 644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/COPYING" + mv "${pkgdir}/usr/share/doc/pcre" "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } |