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

commit a27c98406c608d3080d26aeeac14dea0cdeae38d
Author: Devil505 <[email protected]>
Date:   Sat Sep 3 07:25:45 2011 +0200

fotoxx-11.09-1-i686
* version bump

diff --git a/source/xapps-extra/fotoxx/FrugalBuild 
b/source/xapps-extra/fotoxx/FrugalBuild
index 70fef65..d84fd52 100644
--- a/source/xapps-extra/fotoxx/FrugalBuild
+++ b/source/xapps-extra/fotoxx/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Devil505 <[email protected]>

pkgname=fotoxx
-pkgver=11.08.1
+pkgver=11.09
pkgrel=1
pkgdesc="A program for improving image files made with a digital camera"
url="http://kornelix.squarespace.com/$pkgname/";
@@ -12,18 +12,20 @@ groups=('xapps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://kornelix.squarespace.com/downloads/ | Flasttar"
source=(http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz)
-sha1sums=('7728127fe27e4e85e733a6ff6dfe07e2164f1ba9')
+sha1sums=('1f52fe85b2eadcf5959fe9cb209cf22b7db9e767')
replaces=('fotox')

build() {
Fcd
-  Fsed 'xdg-desktop-menu install $(DESTDIR)$(MENUFILE)' '# xdg-desktop-menu 
install $(DESTDIR)$(MENUFILE)' Makefile
-  Fsed 'MENUFILE = $(PREFIX)/share/applications/kornelix-fotoxx.desktop' 
'MENUFILE = $(PREFIX)/share/applications/fotoxx.desktop' Makefile
+  Fsed "xdg-deskto" "#xdg-deskto" Makefile
make PREFIX=/usr \
CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \
LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`" || Fdie
-  Fmkdir usr/share/applications
+  sed -i 's+^# ++' data/desktop  || Fdie
+  sed -i 's+@PREFIX@+/usr+' data/desktop  || Fdie
make DESTDIR=$Fdestdir PREFIX=/usr install || Fdie
+  Frm usr/share/applications/kornelix-$pkgname.desktop
+  Finstallrel 644 data/desktop usr/share/applications/$pkgname.desktop
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to