archrelease: copy trunk to extra-x86_64
[arch-packages.git] / facile / trunk / PKGBUILD
blob375d2ac2b0e54a58e19259dd3a9d22131049b13e
1 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
3 pkgname=facile
4 pkgver=1.1.4
5 pkgrel=4
6 pkgdesc="A Functional Constraint Library"
7 arch=(x86_64)
8 url="http://www.recherche.enac.fr/opti/facile/"
9 license=("LGPL")
10 makedepends=('ocaml' 'ocaml-compiler-libs')
11 depends=()
12 source=(https://github.com/Emmanuel-PLF/facile/archive/$pkgver/$pkgname-$pkgver.tar.gz ocaml5.patch)
13 sha256sums=('f35cbc3c8022120c01a7b3844b279f032f37856bff1c9801c410f2520e786502'
14             '57d511db86373dd7ef3732fa09c7d6f24c03105873e1c01392f98b0212993a80')
17 prepare() {
18   cd $pkgname-$pkgver/lib
19   patch -Np1 -i ../../ocaml5.patch
24 build() {
25   cd $pkgname-$pkgver/lib
26   make
29 package() {
30   cd $pkgname-$pkgver/lib
31   install -Dm644 facile.cmxa facile.cmi facile.cma facile.a -t "$pkgdir/usr/lib/ocaml/facile"