diff options
author | J5lx | 2015-07-03 16:19:14 +0200 |
---|---|---|
committer | J5lx | 2015-07-03 16:19:14 +0200 |
commit | 26c55595bff3cbae3f309f572f6c33792eed0399 (patch) | |
tree | 9c8cb55f2c746ef6ea0bc1de2488db3fe684e2a5 | |
download | aur-26c55595bff3cbae3f309f572f6c33792eed0399.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..faf19dafa65e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = ocaml-enumerate + pkgdesc = Text output utilities + pkgver = 111.08.00 + pkgrel = 2 + url = https://github.com/janestreet/enumerate + arch = i686 + arch = x86_64 + license = Apache + makedepends = ocaml-findlib + depends = ocaml + depends = camlp4 + depends = ocaml-type_conv + options = !strip + source = https://ocaml.janestreet.com/ocaml-core/111.08.00/individual/enumerate-111.08.00.tar.gz + md5sums = 2cb0ad1f4a7fc4c9fe1bf6d294be10ce + +pkgname = ocaml-enumerate + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cbd7af4c1eee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Jakob Gahde <j5lx@fmail.co.uk> + +pkgname=ocaml-enumerate +pkgver=111.08.00 +pkgrel=2 +license=('Apache') +arch=('i686' 'x86_64') +pkgdesc="Text output utilities" +url="https://github.com/janestreet/enumerate" +depends=('ocaml' 'camlp4' 'ocaml-type_conv') +makedepends=('ocaml-findlib') +source=("https://ocaml.janestreet.com/ocaml-core/${pkgver}/individual/${pkgname#ocaml-}-${pkgver}.tar.gz") +options=('!strip') +md5sums=('2cb0ad1f4a7fc4c9fe1bf6d294be10ce') + +build() { + cd "${srcdir}/${pkgname#ocaml-}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname#ocaml-}-${pkgver}" + OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" + mkdir -p "$OCAMLFIND_DESTDIR" + DESTDIR="${pkgdir}" \ + OCAMLFIND_DESTDIR="$OCAMLFIND_DESTDIR" \ + make install +} |