Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ba15ae39044cc962c1cb7bdaf4dd3f3911c49635

commit ba15ae39044cc962c1cb7bdaf4dd3f3911c49635
Author: James Buren <[email protected]>
Date:   Wed Dec 17 22:40:52 2008 -0600

lgui-0.21.0-1-i686
* version bump
* modify way devel examples are packaged

diff --git a/source/xlib-extra/lgui/FrugalBuild 
b/source/xlib-extra/lgui/FrugalBuild
index 298d8a0..d9cf496 100644
--- a/source/xlib-extra/lgui/FrugalBuild
+++ b/source/xlib-extra/lgui/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: James Buren <[email protected]>

pkgname=lgui
-pkgver=0.20.1
-pkgrel=4
+pkgver=0.21.0
+pkgrel=1
pkgdesc="LUA bindings for GTK+2."
url="http://oproj.tuxfamily.org/wiki/doku.php?id=$pkgname";
depends=('lobj' 'libglade')
@@ -18,14 +18,20 @@ subgroups=("devel-extra")
subrodepends=("$pkgname")
up2date="Flasttar http://downloads.tuxfamily.org/oproj/$pkgname/";
source=(http://downloads.tuxfamily.org/oproj/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha1sums=('04d7ffc4fbb8aa283fbdce5c102cc5ffac9edf19')
+sha1sums=('f150db5471f153c3b169c98dcee18ede1b064977')

build()
{
Fsed "-O2" "${CFLAGS}" Makefile
make WITH_GLADE=1 || Fdie
Fmakeinstall
-       Ffilerel examples/*.lua /usr/share/doc/$pkgname-$pkgver/examples
+       for i in examples/*; do
+               if echo "$i" | grep -q ".lua$"; then
+                       Fexerel examples/`basename $i` 
/usr/share/doc/$pkgname-$pkgver/examples/`basename $i`
+               else
+                       Ffilerel examples/`basename $i` 
/usr/share/doc/$pkgname-$pkgver/examples/`basename $i`
+               fi
+       done
Fsplit $pkgname-devel /usr/share/doc/$pkgname-$pkgver/examples
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to