You are not logged in.

#1 2011-10-07 15:16:21

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

[Solved] Can I somehow set makepkg to not compress the package?

It takes to long to compress big aur's packages. And it is not needed at all because after the install I woun't need tha package file anymore.
Can I somehow set it to make tar archives or somehow lower the compressing level?

Last edited by Doctor Drive (2011-10-07 15:52:33)

Offline

#2 2011-10-07 15:39:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Can I somehow set makepkg to not compress the package?

[karol@black ~]$ tail /etc/makepkg.conf
#
# WARNING: Do NOT modify these variables unless you know what you are
#          doing.
#
#PKGEXT='.pkg.tar.xz'
PKGEXT='.pkg.tar'
#PKGEXT='.pkg.tar.gz'
SRCEXT='.src.tar.gz'

# vim: set ft=sh ts=2 sw=2 et:

Offline

#3 2011-10-07 15:42:04

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] Can I somehow set makepkg to not compress the package?

Also note that you can override this on a per package basis by (re)definining PKGEXT right in the PKGBUILD.

Offline

#4 2011-10-07 15:49:50

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [Solved] Can I somehow set makepkg to not compress the package?

I would recommend setting in makepkg.conf something like this:

PKGEXT=${PKGEXT:-'.pkg.tar.xz'}

then when you don't want compression, you just

PKGEXT=.tar makepkg

And if you almost always don't want compression, you can set an alias: alias makepkg='PKGEXT=.tar makepkg' (use \makepkg to skip the alias).

Last edited by lolilolicon (2011-10-07 16:04:05)


This silver ladybug at line 28...

Offline

#5 2011-10-07 15:52:16

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

Re: [Solved] Can I somehow set makepkg to not compress the package?

Thanks!

Offline

Board footer

Powered by FluxBB