On Wed, Apr 21, 2010 at 05:13:16PM +0200, kikadf <[email protected]> wrote:
> # Compiling Time: 0.02 SBU
> # Maintainer: who
> # Contributor: kikadf <[email protected]>
> 
> pkgname=tuxcmd-dev

Why do you name it tuxcmd-dev instead of tuxcmd?

> pkgver=0.6.70
> pkgrel=1
> pkgdesc="Tux Commander is a windowed file manager with 2 panels"
> Fdestdir="$startdir/pkg/usr"
> _F_archive_grepv="bin"
> _F_sourceforge_name="tuxcmd"
> _F_sourceforge_dirname="$_F_sourceforge_name"
> _F_sourceforge_ext=".tar.bz2"
> Finclude sourceforge
> depends=('gtk+2')
> makedepends=('fpc' 'desktop-file-utils')
> groups=('xapps-extra')
> archs=('i686' 'x86_64')
> sha1sums=('71dbe3489a056e3e43ee8225865fd75e11b01b39')
> 
> build()
> {
>       Fbuild
>       #Solve the "duplicated documentum directory problem".
>       Frm share/doc/tuxcmd    
> }

No, please don't change Fdestdir, that variable should be read only.

What about:

Fmake
Fmakeinstall DESTDIR=$Fdestdir/usr

instead of

Fbuild?

> # Compiling Time: 0 SBU
> # Maintainer: who
> # Contributor: kikadf <[email protected]>
> 
> pkgname=tuxcmd-dev-modules
> pkgver=0.6.70
> pkgrel=1
> pkgdesc="ZIP, gvfs and libarchive plugin for Tux Commander"
> _F_sourceforge_ext=".tar.bz2"
> _F_archive_grep="modules-$pkgver$_F_sourceforge_ext"
> _F_sourceforge_name="tuxcmd-modules"
> _F_sourceforge_dirname="tuxcmd"
> Finclude sourceforge
> depends=('tuxcmd-dev')
> makedepends=('gcc' 'sharutils')

You should not add a package to makedepends in case it's in devel-core,
gcc is in that group, so please just remove it from here.

> build()
> {
>       Fmake
>       Fmkdir usr/lib/tuxcmd
>       Fmakeinstall DESTDIR="$Fdestdir$Fprefix"        
> }

^ Yep, this is the right way to do it, just do it above this way as
well. :)

> # Compiling Time: 0.06 SBU
> # Maintainer: who
> # Contributor: kikadf <[email protected]>
> 
> pkgname=tuxcmd-dev-modules-unrar
> pkgver=0.6.70
> pkgrel=1
> pkgdesc="UNRAR plugin for Tux Commander"
> _F_sourceforge_ext=".tar.bz2"
> _F_archive_grep="modules-unrar-$pkgver$_F_sourceforge_ext"
> _F_sourceforge_name="tuxcmd-modules-unrar"
> _F_sourceforge_dirname="tuxcmd"
> Finclude sourceforge
> depends=('tuxcmd-dev')
> groups=('xapps-extra' 'tuxcmd-dev-plugins')
> archs=('i686' 'x86_64')
> sha1sums=('d2b8416a208bf5bd23c695b44dc871deffc0af7b')
> 
> build()
> {
>       Fmake
>       Fmkdir usr/lib/tuxcmd
>       Fmakeinstall DESTDIR="$Fdestdir$Fprefix"        
> }

This looks fine.

Thanks.

Attachment: pgpjsk6FJ1D0J.pgp
Description: PGP signature

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to