summaryrefslogtreecommitdiff
path: root/extra/lablgtk2
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
committerroot <root@rshg047.dnsready.net>2011-05-10 22:33:36 +0000
commit01b47af6474ac094ec199c7d75208874f8842d87 (patch)
tree44a048d09e5233a98d35c660e67be2a818832a56 /extra/lablgtk2
parentbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff)
Tue May 10 22:33:36 UTC 2011
Diffstat (limited to 'extra/lablgtk2')
-rw-r--r--extra/lablgtk2/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/extra/lablgtk2/PKGBUILD b/extra/lablgtk2/PKGBUILD
index d0d65af8a..074e59069 100644
--- a/extra/lablgtk2/PKGBUILD
+++ b/extra/lablgtk2/PKGBUILD
@@ -1,24 +1,25 @@
-# $Id: PKGBUILD 106688 2011-01-17 20:58:22Z tpowa $
+# $Id: PKGBUILD 123211 2011-05-09 10:15:03Z jgc $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=lablgtk2
pkgver=2.14.2
-pkgrel=1
+pkgrel=2
pkgdesc=" An Objective Caml interface to gtk2"
arch=(i686 x86_64)
license=('LGPL')
-url="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"
-depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview' 'gtksourceview2')
+url="http://lablgtk.forge.ocamlcore.org/"
+depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
makedepends=('ocaml')
-source=(http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-$pkgver.tar.gz)
+source=(https://forge.ocamlcore.org/frs/download.php/561/lablgtk-${pkgver}.tar.gz)
options=(!makeflags)
+md5sums=('bad77680a72dab8b915cae99d1ec9b1f')
build() {
- cd $startdir/src/lablgtk-$pkgver
- ./configure
+ cd "${srcdir}/lablgtk-${pkgver}"
+ ./configure --prefix=/usr
make world
make opt
- make PREFIX=$startdir/pkg/usr LIBDIR=$startdir/pkg/usr/lib/ocaml BINDIR=$startdir/pkg/usr/bin INSTALLDIR=$startdir/pkg/usr/lib/ocaml/lablgtk2 DLLDIR=$startdir/pkg/usr/lib/ocaml/stublibs install
-rm -r $startdir/pkg/usr/bin
+ make DESTDIR="${pkgdir}" install
+ install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
+ rm -r "${pkgdir}/usr/bin"
}
-md5sums=('bad77680a72dab8b915cae99d1ec9b1f')