diff options
-rw-r--r-- | pcr/opam/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
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. <vb@luminar.eu.org> +# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp> + +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: |