You are not logged in.

#1 2009-06-09 01:21:52

climatewarrior
Member
Registered: 2009-04-23
Posts: 23

PKGBUILD for FuseISOMenu

Hi! I made a PKGBUILD for FuseISOMenu but never managed to get FUSEISOMenu to work, although the PKGBUILD works just fine. If anybody is interested and gets FuseISOMenu to work please let me know or just submit it to AUR. 

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.       
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.                                                 

# Contributor: Gabriel <gabrieljoel@gmail.com>
pkgname=fuseisomenu                           
pkgver=0.30.0                                 
pkgrel=1                                      
pkgdesc="A simple front-end menu to fuseiso for Konqueror and Dolphin"
arch=('i686' 'x86_64')                                                
url="http://www.kde-apps.org/content/show.php/FuseISOMenu?content=73966"
license=('GPL')                                                         
groups=()                                                               
depends=('fuseiso' 'kdebase' 'bash')                                    
makedepends=()                                                          
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=(install_$pkgname $pkgname.sh $pkgname.desktop)
noextract=()
md5sums=('2e3eab87a0a68c55f7310c0cafadc762' '24c7d3ba1745fa939d50e1822434cbd1''e5bda421d83c30288101a922e4f6fabe')

build() {
  ./install_fuseisomenu
}

# vim:set ts=2 sw=2 et:

Offline

#2 2009-07-22 21:38:13

ndowens
Member
Registered: 2007-08-15
Posts: 39
Website

Re: PKGBUILD for FuseISOMenu

the source array isn't correct, needs a url to download the files


My site: ndowens.tk

Offline

#3 2009-07-22 22:22:00

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: PKGBUILD for FuseISOMenu

1)And it would be better to transfer the installation commands from the installation script to the build () array, so that they follow the fakeroot rules, instead of just running it.
2)You should add the download url in the sources.
3)You should remove any of the options the aren't needed (like groups).
4)Bash shouldn't be included, it is in the base group. Any package in base and base-devel is considered to be preinstalled, just before the making of a package.
5)The vim options in the end aren't needed in an AUR package.
5)If the script is making commands that are pointing to any folder in ~, replace the commands so that they point to a directory in /usr/share/kde4

smile

Last edited by flamelab (2009-07-22 22:22:28)

Offline

#4 2009-07-23 03:24:40

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: PKGBUILD for FuseISOMenu

# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.       
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.   

You can remove it too

Change the Contributor to Maintainer, if this PKGBUILD was created by you, or You can add yourself as a Maintainer.

If you modify the PKGBUILD after my suggestions, you must increment the pkgrel number.

Offline

Board footer

Powered by FluxBB