summaryrefslogtreecommitdiff
path: root/pcr/opam/PKGBUILD
blob: 0df15f1a79789c45a1ea54670a19b8fb8b4289c5 (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
# Maintainer : Aurelien Desbriers <aurelien@hackers.camp>
# Contributor: Vincent B. <vb@luminar.eu.org>

pkgname=opam
pkgver=1.2.1
pkgrel=1
pkgdesc="OCaml Package Manager"
arch=('i686' 'x86_64')
url="http://opam.ocaml.org"
license=('GPL')
depends=('ocaml' 'aspcud')
source=( https://github.com/ocaml/opam/releases/download/${pkgver}/opam-full-${pkgver}.tar.gz)
md5sums=('04e8823a099ab631943952e4c2ab18fc')

build() {
  cd ${srcdir}/opam-full-${pkgver}
  ./configure --prefix=/usr
  make -j1 lib-ext
  make -j1
}

package() {
  cd ${srcdir}/opam-full-${pkgver}
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: