blob: 0261aaf7da59c6462742630d7bf5036856fb7534 (
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
28
29
|
# $Id: PKGBUILD 166401 2012-09-07 16:46:16Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=facile
pkgver=1.1
pkgrel=14
pkgdesc="A Functional Constraint Library"
arch=(i686 x86_64 'mips64el')
url="http://www.recherche.enac.fr/opti/facile/"
license="LGPL"
makedepends=('ocaml')
depends=()
source=(http://www.recherche.enac.fr/opti/facile/distrib/$pkgname-$pkgver.tar.gz
ocaml-facile-ocaml-4.patch)
md5sums=('ab673e1fc0859a42bcb639a02c2d7e9e')
build() {
cd $startdir/src/$pkgname-$pkgver
# fix ocaml4
patch -Np1 -i ../ocaml-facile-ocaml-4.patch
./configure
make || return 1
mkdir -p $startdir/pkg/usr/lib/ocaml/facile
cd src
install -D -m 644 facile.cmxa facile.cmi facile.cma facile.a $startdir/pkg/usr/lib/ocaml/facile
}
md5sums=('ab673e1fc0859a42bcb639a02c2d7e9e'
'1ffc2f08c9f1db8ef0d444ec06f82b79')
|