You are not logged in.

#1 2006-10-02 21:47:58

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Problem about building a Package

well after having a lot of problems about resolving my problems about getting my wireless IPW3945 to work I have used and old script a friend of mine and me made 2 years ago - its only a script ??? But the AUR is complaining about the url - wich there is nithing to write ??? So is it possible not to do that or how should I do it???

PKGBUILD:
# Contributor: Peque & MasiX (udbytossen@gmail.com)
pkgname=wns
pkgver=0.1
pkgrel=1
pkgdesc="Wifi networkscanner and profile handler"
depends=('wireless_tools')
license="GPL"
url=
install="wns.install"
source=('wnsd' 'wns')
md5sums=('1fe307e674c994c67f056676025797b6' '0d59b7d5aebaaf3ec6c951cd2682a503')

build () {
        mkdir -p $startdir/pkg/etc/rc.d/
        mkdir -p $startdir/pkg/usr/sbin/
        cp $startdir/src/wnsd $startdir/pkg/etc/rc.d/
        cp $startdir/src/wns $startdir/pkg/usr/sbin/
        chown root $startdir/pkg/etc/rc.d/wnsd
        chmod 755 $startdir/pkg/etc/rc.d/wnsd
        chown root $startdir/pkg/usr/sbin/wns
        chmod 755 $startdir/pkg/usr/sbin/wns
}


There' s only those 2 files + install Howto description. So how do I do that???
Its a script writed by hand and no webpages to get the source kodes from?


Just getting better .... All the time

Offline

#2 2006-10-02 23:54:21

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Problem about building a Package

not sure if this is 'proper' but you could make the source url the location of this aur package. http://aur.archlinux.org/packges/wns/wns.tar.gz
Make sure you have the appropriate cd line in build. You can always delete or modify the package if it doesn't work or TU's complain.

Offline

#3 2006-10-03 00:18:49

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Problem about building a Package

penguin's suggestion seems sound - you could also put http://aur.archlinux.org on its own I'd think.

However, make sure you also mention in the comments when you upload the package that there is no website for it.

Offline

#4 2006-10-03 00:51:18

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Problem about building a Package

oh!  :!:

I thought you meant AUR wasn't accepting the source url.
There's a short hand way to go directly to the package's aur home page:
http://aur.archlinux.org/packages.php?K=wns

But I see you've got it sorted anyway  smile

Offline

#5 2006-10-03 02:58:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem about building a Package

An empty url will probably work if you use quotes:
url=""

Offline

#6 2006-10-03 06:31:00

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: Problem about building a Package

OK - well - after a talk with julemand101 have we desidet to make a homepage for it at Archlinux.dk(danish site) where some explanation about the oppotunities will be descriped.
Welkl - there is no source url - caurse its justt a script (2 files and a little howto) and thats it. But when trying to upload it complained about missing url - I have now set it for the dansih archlinux site about the program - Hopefully thats OK

So thanks anyway - But quit funny to build my own package for the first time


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB