diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -4,20 +4,21 @@ # Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com> # Contributor: Sylvester Johansson <scj(at)archlinux(dot)us> pkgname=ocaml-zip -pkgver=1.06 +pkgver=1.07 +_pkgver=rel107 pkgrel=1 pkgdesc="ZIP and gzip library for OCaml" arch=('i686' 'x86_64') -url="http://cristal.inria.fr/~xleroy/software.html#camlzip" +url="https://github.com/xavierleroy/camlzip" license=('GPL') depends=('ocaml' 'zlib') makedepends=('ocaml-findlib') options=(!strip staticlibs) -source=(http://forge.ocamlcore.org/frs/download.php/1616/camlzip-$pkgver.tar.gz) -sha512sums=('5ef0172927106589620678897f12f054533503a5cf13df71bf4deda43f223d0cd6acce118977e87bce53afe289f367b851f192a8e693274c2bd13549121019dd') +source=("https://github.com/xavierleroy/camlzip/archive/$_pkgver.tar.gz") +md5sums=('8babccb584dfd4eb7b98901122e818a9') build() { - cd "$srcdir/camlzip-$pkgver" + cd "$srcdir/camlzip-$_pkgver" make all allopt mkdir -p html @@ -25,13 +26,13 @@ build() { } package() { - cd "$srcdir/camlzip-$pkgver" + cd "$srcdir/camlzip-$_pkgver" export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" export OCAMLFIND_LDCONF="ignore" mkdir -p "$OCAMLFIND_DESTDIR/stublibs" - ocamlfind install camlzip META *.mli *.cmi *.cma *.cmxa *.a *.so + make install-findlib install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE install -d -m 0755 "${pkgdir}/usr/share/doc/$pkgname" install -t "${pkgdir}/usr/share/doc/$pkgname/" html/* |