summaryrefslogtreecommitdiff
path: root/extra/lablgtk2/PKGBUILD
blob: d6a04e9e22639956e45b437746b1839a3a021522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 132150 2011-07-21 11:38:25Z tpowa $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=lablgtk2
pkgver=2.14.2
pkgrel=3
pkgdesc=" An Objective Caml interface to gtk2"
arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
makedepends=('ocaml')
source=(https://forge.ocamlcore.org/frs/download.php/561/lablgtk-${pkgver}.tar.gz)
options=(!makeflags)
md5sums=('bad77680a72dab8b915cae99d1ec9b1f')

build() {
  cd "${srcdir}/lablgtk-${pkgver}"
  ./configure --prefix=/usr
  make world
  make opt
  make DESTDIR="${pkgdir}" install
  install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
  rm -r "${pkgdir}/usr/bin"
}