summaryrefslogtreecommitdiff
path: root/extra/lablgtk2/PKGBUILD
blob: 074e59069af108b877ef8fcd0c14903f1fc4ea81 (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 123211 2011-05-09 10:15:03Z jgc $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=lablgtk2
pkgver=2.14.2
pkgrel=2
pkgdesc=" An Objective Caml interface to gtk2"
arch=(i686 x86_64)
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"
}