summaryrefslogtreecommitdiff
path: root/community/ocaml-findlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ocaml-findlib/PKGBUILD')
-rw-r--r--community/ocaml-findlib/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/ocaml-findlib/PKGBUILD b/community/ocaml-findlib/PKGBUILD
index 7f8b3c632..366f9fc14 100644
--- a/community/ocaml-findlib/PKGBUILD
+++ b/community/ocaml-findlib/PKGBUILD
@@ -3,19 +3,19 @@
# Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org>
# scj <scj archlinux us>
pkgname=ocaml-findlib
-pkgver=1.2.6
-pkgrel=4
+pkgver=1.2.7
+pkgrel=1
license=('MIT')
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Objective Caml (OCaml) package manager"
url="http://projects.camlcity.org/projects/findlib.html"
depends=('ocaml')
-source=("http://download.camlcity.org/download/findlib-${pkgver}.tar.gz")
-md5sums=('4924c8c3ef1208eb0fa9096c8b8bb72f')
+source=("http://download.camlcity.org/download/findlib-$pkgver.tar.gz")
+md5sums=('000bff723e8d3d727a7edd5b5901b540')
options=('!strip' 'zipman') # otherwise the bytecode gets broken
build() {
- cd ${srcdir}/findlib-${pkgver}
+ cd $srcdir/findlib-$pkgver
./configure\
-config /etc/findlib.conf \
-sitelib /usr/lib/ocaml \
@@ -24,13 +24,13 @@ build() {
}
package () {
- cd ${srcdir}/findlib-${pkgver}
- make prefix=${pkgdir} install
+ cd $srcdir/findlib-$pkgver
+ make prefix=$pkgdir install
# Add the old site-lib to the path to maintain compatability with old style
# packages.
sed -i 's/path=\"\/usr\/lib\/ocaml\"/path="\/usr\/lib\/ocaml:\/usr\/lib\/ocaml\/site-lib"/' ${pkgdir}/etc/findlib.conf
- install -m755 src/findlib/ocamlfind_opt "${pkgdir}/usr/bin/"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m755 src/findlib/ocamlfind_opt "$pkgdir/usr/bin/"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}