[Slackbuilds-users] How to build .txz package without editing .SlackBuild file.

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Nov 22 12:22:16 UTC 2017

>>> By default .SlackBuild files are written to make .tgz package.
>>> Is there any way to build .txz file from the buildscript without editing
>>> the .SlackBuild file by passing parameter to the buildscript to create a
>>> .txz file?
>> Export PKGTYPE=txz to the SlackBuild script.
> Examples:
> PKGTYPE=txz ./yourprogram.SlackBuild
> PKGTYPE=txz sboinstall desired_program
> PKGTYPE=txz sboupgrade upgradable_programs

Even better, export it in your .bashrc or in your /etc/profile for
global settings

Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20171122/b00d252c/attachment-0001.asc>

More information about the SlackBuilds-users mailing list