From a4c0efd3c07f1d45185800f861d7c8b8fbf3c994 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Thu, 5 Jun 2014 23:16:57 +0200 Subject: opam --- pcr/opam/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pcr/opam/PKGBUILD (limited to 'pcr/opam') diff --git a/pcr/opam/PKGBUILD b/pcr/opam/PKGBUILD new file mode 100644 index 000000000..517153048 --- /dev/null +++ b/pcr/opam/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor (Arch) : Vincent B. +# Maintainer (Parabola) : Aurélien DESBRIÈRES + +pkgname=opam +pkgver=1.1.1 +pkgrel=1 +pkgdesc="OCaml Package Manager" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="http://opam.ocamlpro.com" +license=('GPL') +depends=('ocaml' 'aspcud') +source=(http://www.ocamlpro.com/pub/${pkgname}-full-${pkgver}.tar.gz) +build() { + cd ${srcdir}/${pkgname}-full-${pkgver} + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-full-${pkgver} + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3