Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (26 sloc) 845 Bytes
# rebuild facile on any update
pkgname=ocaml
pkgver=4.07.1
_pkgver=4.07
pkgrel=1
pkgdesc="A functional language with OO extensions"
arch=('x86_64')
license=('LGPL2' 'custom: QPL-1.0')
url="https://ocaml.org/"
depends=('gdbm')
makedepends=('tk' 'ncurses>=5.6-7' 'libx11')
optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
options=('!makeflags' '!emptydirs')
source=("http://caml.inria.fr/distrib/ocaml-${_pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('c3250eaad4d63e92efb21456a7a46a13')
build() {
cd ${pkgname}-${pkgver}
./configure -prefix /usr
make world.opt
}
package_ocaml() {
cd ${pkgbase}-${pkgver}
make PREFIX=${pkgdir}/usr MANDIR=${pkgdir}/usr/share/man install
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/
}