Hello, :-P
Thank you for your help, and thank you to Devil505 and Janny :-P
I think I understand a little the subtleties of a FrugalBuild. But, I
don't understand the up2date line. How did you find it, please ?
With that, I don't understand the install file synthax. And his utility. :-/
But, after all, I think there is some people who will be happy to have
XaraLX in the -current branch :-P
Thanks again !
jedifox
Gabriel C a écrit :
Thomas Legrand wrote:
Hello,
I corrected my FB but I don't know if it's ok but it works ;-)
I tried to use _F_desktop_filename="$pkgname.desktop" but it doesn't
work. So, I used Finstallrel, like has said to me, Devil505 ;-)
Actually simply :)
...
Fbuild
Ficonrel xaralx.png
Ffilerel /usr/share/applications/xaralx.desktop
...
:)
Ok I've fixed the rest so we get an up2date , and also depends corrected.
# Compiling Time: 5.58 SBU
# Contributor: jedifox <[EMAIL PROTECTED]>
pkgname=xaralx
_F_archive_name=XaraLX
pkgver=0.7r1785
pkgrel=1
pkgdesc="Xara LX is primarily a vector graphics (drawing and illustration)
program"
url="http://www.xaraxtreme.org/"
depends=('wxgtk-u8' 'libxml2' 'libstdc++' 'gtk+2' 'freetype2' 'libxau'
'libxdmcp' 'libxxf86vm' 'expat' 'libxdamage' 'libice')
makedepends=('gettext>=0.14.3' 'libtool' 'zip')
rodepends=('desktop-file-utils')
options=('scriptlet')
groups=('xapps-extra')
archs=('i686')
up2date="lynx -dump
'http://www.xaraxtreme.org/downloads/bsource.js'|Flasttarbz2"
Fconfopts="$Fconfopts --enable-filters --enable-svgfilter \
--with-included-gettext --disable-svnversion \
--disable-debug"
source=(http://downloads2.xara.com/opensource/${_F_archive_name}-${pkgver}.tar.bz2)
sha1sums=('b67435ed51db0fb184997b4de04c0098c5af58b5')
build()
{
Fbuild
Ficonrel xaralx.png
Ffilerel /usr/share/applications/xaralx.desktop
}
# optimization OK
post_install() {
echo -n "updating desktop database... "
update-desktop-database > /dev/null 2>&1
echo "done."
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
post_remove() {
post_install
}
op=$1
shift
$op $*
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel