summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Anderson2018-04-07 01:31:38 -0400
committerSean Anderson2018-04-07 01:33:36 -0400
commit971d7225620299878743528c7ddc5499f38df3cc (patch)
treefaa197c31b091c545df48edd40e18877d6009b4a
parent4e87b8bbc554e6162eebf93b3aaa0dad3870eb00 (diff)
downloadaur-971d7225620299878743528c7ddc5499f38df3cc.tar.gz
Bumped version to 1.07; Switched to github
ocamlcore.org no longer hosts camlzip, so we have switched to github to get the 1.07 release
-rw-r--r--PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 028be91da14..0d7c19f21d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/*