mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
24 lines
908 B
Bash
24 lines
908 B
Bash
# $Id: PKGBUILD 51458 2009-09-08 15:08:16Z tpowa $
|
|
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
pkgname=lablgtk2
|
|
pkgver=2.12.0
|
|
pkgrel=2
|
|
pkgdesc=" An Objective Caml interface to gtk2"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL2')
|
|
url="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"
|
|
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui')
|
|
makedepends=('ocaml')
|
|
source=(http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-$pkgver.tar.gz)
|
|
|
|
# uninstall libgnomeui before to avoid gnome depends
|
|
build() {
|
|
cd $startdir/src/lablgtk-$pkgver
|
|
./configure
|
|
make || return 1
|
|
make opt || return 1
|
|
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 || return 1
|
|
rm -r $startdir/pkg/usr/bin
|
|
}
|
|
md5sums=('0e253128afee3cdc6e9b43c34b35984d')
|