summaryrefslogtreecommitdiff
path: root/pcr/opam/PKGBUILD
blob: 517153048205833ca20214b3a4db7092e0504a1c (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
# 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: