You are not logged in.

#1 2005-09-24 14:42:16

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

My first AUR submission, please check..- kleansweep


# Contributor: ganja_guru <varunacharya@touchtelindia.net>
pkgname=kleansweep
pkgver=0.1.7
pkgrel=1
pkgdesc="KleanSweep allows you to reclaim disk space by finding unneeded files"
url="http://www.kde-apps.org/content/show.php?content=28631"
license="GPL"
depends=(perl kdelibs)
makedepends=(scons)
conflicts=()
replaces=()
backup=()
install=
source=(http://linux.bydg.org/~yogin/kleansweep-0.1.7.tar.bz2)
md5sums=(afb2a0a64d48611461d690af4437323a)

build() {
  cd $startdir/src/$pkgname-$pkgver
  scons configure prefix=/opt/kde
  scons install || return 1
  }



Pelase tell me if I should change anything before posting. Thanks.

Offline

#2 2005-09-24 15:14:42

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: My first AUR submission, please check..- kleansweep

scons is a makedepends tho, right?

Offline

#3 2005-09-24 15:40:11

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

Yeah you're right..edited.

i get this error while building, though the package installs fine

Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: kleansweep  (Sat Sep 24 21:09:41 IST 2005)

Offline

#4 2005-09-24 15:58:45

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: My first AUR submission, please check..- kleansweep

Er....that means /pkg is empty normally!  Which means your PKGBUILD installs straight to the local FS - which is very bad...

Offline

#5 2005-09-24 17:20:49

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

Re: My first AUR submission, please check..- kleansweep

install fakeroot and run it again as regular user. This will build the package in a root environment but will not grant root permissions to execute in the root filesystem. Basicaly if you had it installed, makepkg would error out saying can not write to folder x.

Offline

#6 2005-09-24 17:24:38

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

penguin, dibblethewrecker : do i have to make any changes to the PKGBUILD?

Offline

#7 2005-09-24 17:27:36

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

Re: My first AUR submission, please check..- kleansweep

if you installed fakeroot and ran it as regular user like i said, you could then post the error messages from makepkg.
I would try changing prefix=/opt/kde to prefix=$startdir/opt/kde but you really need those messages.

Offline

#8 2005-09-24 17:29:17

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

i modified it a little..no errors now


# Contributor: ganja_guru <varunacharya@touchtelindia.net>
pkgname=kleansweep
pkgver=0.1.7
pkgrel=1
pkgdesc="KleanSweep allows you to reclaim disk space by finding unneeded files"
url="http://www.kde-apps.org/content/show.php?content=28631"
license="GPL"
depends=(perl kdelibs)
makedepends=(scons)
conflicts=()
replaces=()
backup=()
install=
source=(http://linux.bydg.org/~yogin/kleansweep-0.1.7.tar.bz2)
md5sums=(afb2a0a64d48611461d690af4437323a)

build() {
  cd $startdir/src/$pkgname-$pkgver
  scons configure prefix=/opt/kde || return 1
  scons DESTDIR=$startdir/pkg install
  }

Offline

#9 2005-09-24 17:31:48

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

this line was missing from the original PKGBUILD 
scons DESTDIR=$startdir/pkg install

for the AUR, I just have to Compress the PKGBUILD *only* as a .tar.gz with the name "kleansweep-0.1.7-tar.gz" right?

Offline

#10 2005-09-24 17:52:38

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: My first AUR submission, please check..- kleansweep

no, you have to place it within a folder called kleansweep and tar that to a .gz file

Offline

#11 2005-09-24 18:57:14

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

thanks for the help..its been uploaded.. ; )

I've read that I should not upload a PKGBUILD for a package which is already in the Arch Repo's,
but to get these xfs pkg's to work (ftp://oss.sgi.com/projects/xfs/cmd_tars) xfsprogs has to be built with 'make install-dev'(the arch repo's only have make install). So would I be breaking rules if I uploaded a PKGBUILD with xfsprogs (with make install-dev, of course)?

note : These packages are needed to defrag an XFS volume

Please excuse my newbieness to the AUR. Thanks for the help

Offline

#12 2005-09-24 19:13:24

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

Re: My first AUR submission, please check..- kleansweep

you did the tar wrong. It should be kleansweep.tar.gz. And the license field is implemented yet, leave it empty -sorry didn't notice that before.

Offline

#13 2005-09-24 20:09:55

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: My first AUR submission, please check..- kleansweep

Actually, GPL will be entered as GPL so GPL is ok.

Yes, you would be breaking the rules with the xfs thing - if  you think a pkg should be built with different options then make a feature request.  99% of the time it is just an oversight on the devs part rather than a good reason not to have the setting

Offline

#14 2005-09-24 20:19:16

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

Re: My first AUR submission, please check..- kleansweep

dibblethewrecker wrote:

Actually, GPL will be entered as GPL so GPL is ok.

Ahh, thanks. I see its being implemented with pacman 2.9.7, must of missed that before.

Offline

#15 2005-09-24 20:46:35

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

Re: My first AUR submission, please check..- kleansweep

The only feature implemented yet is that pacman will tell you the license when you do pacman -Qi.  More features as well as a licence package are to come.  The licencing system has been planned but is not fully completed.  That's why only GPL is accepted. More info:
http://wiki.archlinux.org/index.php/Arc … _Standards

Offline

#16 2005-09-24 20:49:25

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

Penguin : what do i do now that ive submitted a wrongly named package?

Offline

#17 2005-09-24 21:03:24

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

Re: My first AUR submission, please check..- kleansweep

Re-upload it. It's the same procedure when you first uploaded it.  Just make sure that the "overwrite existing package" option is used.

Offline

#18 2005-09-25 03:04:58

ganja_guru
Member
Registered: 2005-02-14
Posts: 464

Re: My first AUR submission, please check..- kleansweep

ok done..looks fine now.. thanks everyone..looking forward to contributing more to the AUR

Offline

Board footer

Powered by FluxBB