blob: 60a9bcedb1cd8963b0fc20fa7ff8945b9d0a1c94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: oliver < a t > first . in-berlin . de
pkgname=ocaml-camlzip
_pkgname=camlzip
pkgver=1.06
pkgrel=3
pkgdesc="Provides easy access to compressed files in ZIP, GZIP and JAR format"
arch=('i686' 'x86_64')
license=('custom: LGPL-2.1+ with OCaml linking exception')
source=(http://forge.ocamlcore.org/frs/download.php/1616/camlzip-1.06.tar.gz)
md5sums=(0874be16d02a7165dfc31edc06636e4c)
url="http://forge.ocamlcore.org/projects/camlzip/"
depends=('ocaml')
makedepends=('ocaml' 'ocaml-findlib')
# options=(!makeflags)
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
make all
make allopt
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
INSTALLDIR="${pkgdir}$(ocamlfind printconf destdir)"
mkdir -p "$INSTALLDIR"
chmod 755 "$INSTALLDIR"
env DESTDIR=${pkgdir} \
OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) \
OCAMLFIND_LDCONF=ignore \
ocamlfind install zip META *.mli *.a *.cmi *.cma *.cmxa *.so
}
|