summaryrefslogtreecommitdiff
path: root/extra/lablgtk2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lablgtk2/PKGBUILD')
-rw-r--r--extra/lablgtk2/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/lablgtk2/PKGBUILD b/extra/lablgtk2/PKGBUILD
index baf833da8..c60fc2e76 100644
--- a/extra/lablgtk2/PKGBUILD
+++ b/extra/lablgtk2/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 135692 2011-08-17 10:30:13Z tpowa $
+# $Id: PKGBUILD 148806 2012-02-05 11:51:19Z ibiru $
#Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=lablgtk2
pkgver=2.14.2
-pkgrel=4
+pkgrel=5
pkgdesc=" An Objective Caml interface to gtk2"
arch=(i686 x86_64)
license=('LGPL')
@@ -11,6 +11,7 @@ url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
makedepends=('ocaml')
optdepends=('ocaml: for using the tools')
+DLAGENTS=('https::/usr/bin/curl -fLC - --insecure --retry 3 --retry-delay 3 -o %o %u')
source=(https://forge.ocamlcore.org/frs/download.php/561/lablgtk-${pkgver}.tar.gz)
options=(!makeflags)
md5sums=('bad77680a72dab8b915cae99d1ec9b1f')
@@ -20,6 +21,10 @@ build() {
./configure --prefix=/usr
make world
make opt
+}
+
+package() {
+ cd "${srcdir}/lablgtk-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m644 META "${pkgdir}/usr/lib/ocaml/lablgtk2/"
}