Page 2 of 2

Re: buildpkg features

Posted: 9. Jun 2009, 15:56
by thenktor
gapan wrote:
thenktor wrote:But I don't want to rename my dep files manually everytime i build a new package :mrgreen: Why not keep the 'keepdepfile' feature?
You don't have to. Just don't provide a new dep file with the new version and the renaming will happen "on the fly" in the repository. metagen.sh does that already.
Haha, good to know this now :lol:

Re: buildpkg features

Posted: 9. Jun 2009, 20:58
by gapan
OK, here's my "buildslackpkg"... :D

http://pnboy.pinguix.com/gapan/buildsla ... ch-1gv.txz

No more ZENBUILDs, it's SLKBUILDs now... No dependency support whatsoever, no more zenver and added support for tgz, tlz and tbz packages in SLKPKG options (default is txz).

Re: buildpkg features

Posted: 9. Jun 2009, 21:33
by tsuren
perhaps we can define packaging rules now, so that we can start working on building packages as soon as we get time. :)

by the way, the buildpkg still generates ZENBUILD template! :)

Re: buildpkg features

Posted: 9. Jun 2009, 22:41
by thenktor
tsuren wrote:perhaps we can define packaging rules now
I'd say: Same as Zenwalk!

Re: buildpkg features

Posted: 9. Jun 2009, 22:58
by thenktor
gapan wrote:OK, here's my "buildslackpkg"... :D

No more ZENBUILDs, it's SLKBUILDs now...
Why not just slkbuild as package and binary name? Based on the model of pkgbuild and according to the filenames it parses (SLKBUILD).
buildslackpkg is a bit long :geek: Furthermore I think it's easier to understand for newcomers that the slkbuild tool parses the SLKBUILD file. ;)

Re: buildpkg features

Posted: 10. Jun 2009, 04:45
by gapan
thenktor wrote:Why not just slkbuild as package and binary name? Based on the model of pkgbuild and according to the filenames it parses (SLKBUILD).
buildslackpkg is a bit long :geek: Furthermore I think it's easier to understand for newcomers that the slkbuild tool parses the SLKBUILD file. ;)
You're right. :D
I'll make the change this afternoon.

Re: buildpkg features

Posted: 10. Jun 2009, 04:49
by gapan
thenktor wrote:
tsuren wrote:perhaps we can define packaging rules now
I'd say: Same as Zenwalk!
Yes.

Lets just only change the package versioning in slackware fashion. Instead of:
$pkgname-$pkgver-$arch-$zenver.$pkgrel.txz
we use
$pkgname-$pkgver-$arch-$pkgrelxy.txz
where xy are your initials. When we come up with a name, maybe we can put initials for that there instead.

Re: buildpkg features

Posted: 10. Jun 2009, 09:13
by JRD
Good :)

Re: buildpkg features

Posted: 10. Jun 2009, 09:48
by thenktor
gapan wrote:we use
$pkgname-$pkgver-$arch-$pkgrelxy.txz
where xy are your initials. When we come up with a name, maybe we can put initials for that there instead.
It's ok for me. I've always used this naming scheme for self compiled Slackware packages 8-) So my suffix would be "tm".

Re: slkbuild (formerly buildpkg) features

Posted: 10. Jun 2009, 12:54
by gapan
Tell me what you think:
http://pnboy.pinguix.com/gapan/slkbuild/
Changelog:
- v0.1 (June 10, 2009)
* Initial release as slkbuild
* Creates txz packages by default
* Added option for creating tgz, tbz or tlz packages
* If sourcetemplate is not set, an src file will not be created
* Removed all dependency related stuff
* Removed zen-pkgcheck.pl option
* Removed automatic installation of .desktop files that appear in the source array
* Removed zenver variable, package name now is $pkgname-$pkgver-$arch-$pkgrel.txz
* Renamed ZENBUILD to SLKBUILD and buildpkg to slkbuild