You are not logged in.
# 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
scons is a makedepends tho, right?
Offline
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
Er....that means /pkg is empty normally! Which means your PKGBUILD installs straight to the local FS - which is very bad...
Offline
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
penguin, dibblethewrecker : do i have to make any changes to the PKGBUILD?
Offline
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
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
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
no, you have to place it within a folder called kleansweep and tar that to a .gz file
Offline
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
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
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
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
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
Penguin : what do i do now that ive submitted a wrongly named package?
Offline
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
ok done..looks fine now.. thanks everyone..looking forward to contributing more to the AUR
Offline