summaryrefslogtreecommitdiff
path: root/extra/facile
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-08 00:08:16 -0800
committerroot <root@rshg054.dnsready.net>2013-02-08 00:08:16 -0800
commit7c92c5fcfb5653f63243842299e413672653d1ad (patch)
tree3487915cdf6e673c8a6dccfbd2a526e341550c87 /extra/facile
parent8e5a0a990a12a59cadb687cae22a1960fce1660b (diff)
Fri Feb 8 00:08:16 PST 2013
Diffstat (limited to 'extra/facile')
-rw-r--r--extra/facile/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/extra/facile/PKGBUILD b/extra/facile/PKGBUILD
index 6048b3f72..af1da96fe 100644
--- a/extra/facile/PKGBUILD
+++ b/extra/facile/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 168478 2012-10-12 13:06:17Z tpowa $
+# $Id: PKGBUILD 177541 2013-02-07 05:32:46Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=facile
@@ -7,23 +7,24 @@ pkgrel=15
pkgdesc="A Functional Constraint Library"
arch=(i686 x86_64)
url="http://www.recherche.enac.fr/opti/facile/"
-license="LGPL"
+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')
+md5sums=('ab673e1fc0859a42bcb639a02c2d7e9e'
+ '1ffc2f08c9f1db8ef0d444ec06f82b79')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "$srcdir/$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
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/src"
+ install -d "$pkgdir/usr/lib/ocaml/facile"
+ install -D -m 644 facile.cmxa facile.cmi facile.cma facile.a "$pkgdir/usr/lib/ocaml/facile"
}
-md5sums=('ab673e1fc0859a42bcb639a02c2d7e9e'
- '1ffc2f08c9f1db8ef0d444ec06f82b79')