diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-24 11:05:09 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-24 11:05:09 +0100 |
commit | a98f27a2a1e717afe20483ffa974d542cf80f4d9 (patch) | |
tree | 9e0b5e5e61843b4b7135423f5151e1f595d47193 /community/ocaml-findlib/PKGBUILD | |
parent | 9865b00e684520710b6f685aae18fe7681396b65 (diff) | |
parent | adac5afd500d4ee3a65035e1cf5353ae236b4a61 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/ocaml-findlib/PKGBUILD
gnome-unstable/clutter/PKGBUILD
gnome-unstable/gcalctool/PKGBUILD
gnome-unstable/gnome-screensaver/PKGBUILD
gnome-unstable/gnome-screensaver/gnome-screensaver.pam
gnome-unstable/pygobject/PKGBUILD
kde-unstable/calligra/PKGBUILD
Diffstat (limited to 'community/ocaml-findlib/PKGBUILD')
-rw-r--r-- | community/ocaml-findlib/PKGBUILD | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/community/ocaml-findlib/PKGBUILD b/community/ocaml-findlib/PKGBUILD index 215a4ffb7..63334910f 100644 --- a/community/ocaml-findlib/PKGBUILD +++ b/community/ocaml-findlib/PKGBUILD @@ -1,35 +1,36 @@ -# Maintainer: Thomas S Hatch <thatch45 at gmail dot com> +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# Contributor: Thomas S Hatch <thatch45 at gmail dot com> # Contributor: Sebastian Wiesner <lunaryorn googlemail com> # Contributor: Benjamin Andresen <benny(at)klapmuetz(dot)org> -# scj <scj archlinux us> +# Contributor: scj <scj archlinux us> + pkgname=ocaml-findlib -pkgver=1.2.7 -pkgrel=2 +pkgver=1.2.8 +pkgrel=1 license=('MIT') arch=('i686' 'x86_64' 'mips64el') -pkgdesc="Objective Caml (OCaml) package manager" -url="http://projects.camlcity.org/projects/findlib.html" +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=('000bff723e8d3d727a7edd5b5901b540') +md5sums=('a1da0fddf589ae62fa9b50799cd04c17') options=('!strip' 'zipman') # otherwise the bytecode gets broken build() { - cd $srcdir/findlib-$pkgver - ./configure\ - -config /etc/findlib.conf \ - -sitelib /usr/lib/ocaml \ - -mandir /usr/share/man + cd "$srcdir/findlib-$pkgver" + + ./configure -config /etc/findlib.conf -sitelib /usr/lib/ocaml -mandir /usr/share/man make all opt } 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 + # add the old site-lib to the path to maintain compatibility 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" |