You are not logged in.

#1 2007-01-22 18:41:12

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

makepg funcionality

I was wondering, what if PKGBUILD files had a line like:

opts='-e'

or something simillar. this would be used as a default package makepkg options. if a user would use his own options (makepkg -d or something) this line would be ignored. or if there would be no opts argument in PKGBUILD file, makepkg would act normally.

EDIT: ups... makepkg functionality not funcionality  big_smile

Offline

#2 2007-01-22 19:19:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,177

Re: makepg funcionality

check /etc/makepkg.conf  for the default options.

Most options in that file (not sure of ftp agent) can be set to a different value in a pkgbuild.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2007-01-22 19:29:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: makepg funcionality

Some options do, some do not.  For instance, -e (noextract) is fairly silly as a PKGBUILD level option - if makepkg doesn't recognize the file as, say, a tar.gz or something, it doesn't extract it.  Also, if there are no sources, nothing is extracted.

Some options are valid at the PKGBUILD level:
options=(keepdocs nostrip) for instance

Offline

#4 2007-01-22 19:32:33

billy
Member
From: Slovenia
Registered: 2006-09-13
Posts: 164

Re: makepg funcionality

oh, i found that the options argument is already included in PKGBUILD (after i did man makepkg). :oops:

Note to myself: RTFM

Offline

#5 2007-01-22 20:56:55

Xarturkhann
Member
From: Ankara
Registered: 2006-02-17
Posts: 55

Re: makepg funcionality

I didn't  see     options=('NOLIBTOOL') in makepkg man page.

Offline

Board footer

Powered by FluxBB