[arch-commits] Commit in lablgtk/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Apr 30 02:20:20 EDT 2009


    Date: Thursday, April 30, 2009 @ 02:20:20
  Author: eric
Revision: 37050

upgpkg: lablgtk 1.2.7-7
    Added license, Disabled SMP build

Modified:
  lablgtk/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-30 06:18:55 UTC (rev 37049)
+++ PKGBUILD	2009-04-30 06:20:20 UTC (rev 37050)
@@ -3,20 +3,23 @@
 
 pkgname=lablgtk
 pkgver=1.2.7
-pkgrel=6
+pkgrel=7
 pkgdesc=" An Objective Caml interface to gtk+"
 arch=(i686 x86_64)
 url="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"
+license=('LGPL')
 depends=('gtk')
 makedepends=('ocaml')
+options=('!makeflags')
 source=(http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/$pkgname-$pkgver.tar.gz)
+md5sums=('73a797e3a459190fdcaa8288935f6fb9')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  make configure
-  make
-  make opt
-  make  PREFIX=$startdir/pkg/usr LIBDIR=$startdir/pkg/usr/lib/ocaml BINDIR=$startdir/pkg/usr/bin INSTALLDIR=$startdir/pkg/usr/lib/ocaml/lablgtk DLLDIR=$startdir/pkg/usr/lib/ocaml/stublibs install
-rm -r $startdir/pkg/usr/bin
+  cd $srcdir/$pkgname-$pkgver
+  make configure || return 1
+  make || return 1
+  make opt || return 1
+  make  PREFIX=$pkgdir/usr LIBDIR=$pkgdir/usr/lib/ocaml BINDIR=$pkgdir/usr/bin \
+    INSTALLDIR=$pkgdir/usr/lib/ocaml/lablgtk DLLDIR=$pkgdir/usr/lib/ocaml/stublibs install || return 1
+  rm -r $pkgdir/usr/bin
 }
-md5sums=('73a797e3a459190fdcaa8288935f6fb9')



More information about the arch-commits mailing list