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

commit 786708dadd9538d6ece70d6aa9bcaaf266a88203
Author: James Buren <r...@frugalware.org>
Date:   Fri Apr 23 17:55:31 2010 -0500

rox-filer-2.10-2-i686
* release bump
* move package to xapps-extra
* remove desktop2appdir and README.Frugalware

diff --git a/source/rox-extra/rox-filer/README.Frugalware 
b/source/rox-extra/rox-filer/README.Frugalware
deleted file mode 100644
index 8025b55..0000000
--- a/source/rox-extra/rox-filer/README.Frugalware
+++ /dev/null
@@ -1,3 +0,0 @@
-Use the included desktop2appfile shell script, if you want an automatic way of
-converting system installed desktop files in /usr/share/applications to a ROX
-appdir.
diff --git a/source/rox-extra/rox-filer/desktop2appdir 
b/source/rox-extra/rox-filer/desktop2appdir
deleted file mode 100644
index 96306a0..0000000
--- a/source/rox-extra/rox-filer/desktop2appdir
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-# Warning: This shell script was written for frugalware, and will not work with
-# other distros. You have been warned.
-#
-
-printhelp()
-{
-       echo "Usage: `basename $0` [desktop file]"
-       exit 1
-}
-
-[ -z "$1" ] && printhelp
-if ! echo "$1" | grep -q '.desktop$'; then
-       printhelp
-fi
-if [ ! -f "$1" ]; then
-       echo "No such file or directory: $1"
-       exit 1
-fi
-
-EXEC=`grep '^Exec=' "$1" | sed 's|^Exec=\(.*\)|\1|' | gawk '{print $1}'`
-NAME=`grep '^Name=' "$1" | sed 's|^Name=\(.*\)|\1|'`
-COMMENT=`grep '^Comment=' "$1" | sed 's|^Comment=\(.*\)|\1|'`
-ICON=`grep '^Icon=' "$1" | sed 's|^Icon=\(.*\)|\1|'`
-ICON=`find -L /usr/share/pixmaps -name "$ICON*" | head -n1`
-OWNER=`pacman-g2 -Qo "$1" | gawk '{print $1}'`
-HELP=`find -L /usr/share/doc -name "$OWNER*" | head -n1`
-
-if [ ! -d "$PWD/$NAME" ]; then
-       mkdir -p "$PWD/$NAME"
-else
-       echo "The directory $PWD/$NAME must not exist."
-       exit 1
-fi
-
-cd "$PWD/$NAME"
-ln -sf "`which "$EXEC"`" AppRun           # symlink to executable
-[ -d "$HELP" ] && ln -s "$HELP" Help     # symlink system doc folder, if it 
exists
-[ -f "$ICON" ] && ln -s "$ICON" .DirIcon # symlink to system icon, if it exists
-echo -e "\
-<?xml version=\"1.0\"?>\n\
-<AppInfo>\n\
-  <Summary>$COMMENT</Summary>\n\
-  <About>\n\
-    <Purpose>$COMMENT</Purpose>\n\
-    <Version>`pacman-g2 -Qi "$OWNER" | grep 'Version.*:' | sed 's|^.*: 
\(.*\)|\1|'`</Version>\n\
-    <Homepage>`pacman-g2 -Qi "$OWNER" | grep 'URL.*:' | sed 's|^.*: 
\(.*\)|\1|'`</Homepage>\n\
-    <License>`pacman-g2 -Qi "$OWNER" | grep 'License.*:' | sed 's|^.*: 
\(.*\)|\1|'`</License>\n\
-  </About>\n\
-</AppInfo>" > AppInfo.xml
diff --git a/source/rox-extra/rox-filer/FrugalBuild 
b/source/xapps-extra/rox-filer/FrugalBuild
similarity index 52%
rename from source/rox-extra/rox-filer/FrugalBuild
rename to source/xapps-extra/rox-filer/FrugalBuild
index be81fb5..d7db4d4 100644
--- a/source/rox-extra/rox-filer/FrugalBuild
+++ b/source/xapps-extra/rox-filer/FrugalBuild
@@ -3,30 +3,31 @@

pkgname=rox-filer
pkgver=2.10
-pkgrel=1
+pkgrel=2
pkgdesc="ROX-Filer is a fast and powerful graphical file manager."
-_F_rox_name="ROX-Filer"
-_F_rox_use_sourceforge=1
-_F_sourceforge_realname="rox"
+_F_sourceforge_dirname="rox"
_F_sourceforge_ext=.tar.bz2
-options=('scriptlet')
-Finclude rox
+options=('scriptlet' 'nodocs')
+Finclude sourceforge
url="http://roscidus.com/desktop/ROX-Filer";
-groups=(${grou...@]} 'rox-core')
+groups=('xapps-extra')
depends=('libglade>=2.6.4-2' 'glibc' 'freetype2>=2.3.9' 'libxau>=1.0.4'
'libxdmcp>=1.0.2-2' 'libice>=1.0.5-2' 'libxdamage>=1.1.1-3'
'libxext>=1.0.5-3' 'shared-mime-info' 'librsvg>=2.26.0-2')
archs=('i686' 'x86_64')
-source=(${sour...@]} desktop2appdir)
-sha1sums=('691297d18be69a883db0a38130f5df99f9e1bc29' \
-          '34ceb8a1c02f980a614e47bd72bc7c4b8d3f0d72')
+sha1sums=('691297d18be69a883db0a38130f5df99f9e1bc29')

build()
{
-       Fbuild_rox
Fman $pkgname-$pkgver/rox.1
-       Fwrapper "exec $_F_rox_installpath/AppRun \"\...@\"" rox
-       Fexe /usr/bin/desktop2appdir
+       Fwrapper "exec /usr/share/$pkgname/AppRun \"\...@\"" rox
+       cd $pkgname-$pkgver/ROX-Filer || Fdie
+       Fsed "-O2" "$CFLAGS" src/configure
+       ./AppRun --compile || Fdie
+       rm -rf {src,build,ROX-Filer.dbg} || Fdie
+       cd .. || Fdie
+       Fcprel ROX-Filer /usr/share/$pkgname
+       Fln /usr/share/$pkgname/Help /usr/share/doc/$pkgname-$pkgver
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to