summaryrefslogtreecommitdiffstats
path: root/scripts/makepkg.in
AgeCommit message (Collapse)AuthorFilesLines
2007-05-27chmod -x scripts/*.inAndrew Fyfe1-0/+0
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27fix existing autotools in scripts/*Andrew Fyfe1-1/+1
- Remove scripts/makepkg on 'make distclean' - scripts/makepkg.in: set myver on ./configure Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27makepkg: fakeroot-related changes and other misc outputDan McGee1-14/+15
A few changes to undo my stupid mistake earlier wrt fakeroot checking, and unify the output and usage of 'makepkg.conf'. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-27Removed fakeroot hacks.Andrew Fyfe1-29/+2
Removed fakeroot hacks from * handledeps() * removedeps() * installpackage() Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-27Reduced the number of commands run inside fakeroot to the bare minimum.Andrew Fyfe1-39/+67
Only the following functions now run inside fakeroot * run_build() * tidy_install() * create_package() Added check for inproper use of '-F' option. Added warning if makepkg is run as root. Added a new '--asroot' flag that must be passed if you wish to run makepkg as the root user. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-16makepkg: ensure DISTCC_HOSTS variable is exported when requiredDan McGee1-4/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-14makepkg: a few small changesDan McGee1-13/+10
* change "Tidying Install" message to msg instead of msg2 * Fix quoting issues in usage output * Remove LANG and friends unsetting- this should be done in the offending package builds * Check for defined $BUILDSCRIPT, since it was moved to makepkg.conf Signed-off-by: Dan McGee <dan@archlinux.org>
2007-05-14Cleaned up and simplified run_build().Andrew Fyfe1-12/+19
Restore LC_ALL and LANG after running build(). Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to setup build environment and run build() into run_build().Andrew Fyfe1-64/+68
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Cleaned up and simplified tidy_install().Andrew Fyfe1-28/+24
Added 'LC_ALL= LANG=' to find commands for stripping symbols from binaries/libraries. This stops the greps failing if LC_ALL or LANG != en_US|C|POSIX. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to tidy up package install into tidy_install().Andrew Fyfe1-61/+64
The following sets of commands were moved into tidy_install() * Remove info/doc files. * Move usr/share/man to usr/man * Compress man pages. * Strip debug symbols from binaries/libraries. * Remove libtool *.la files. * Remove empty directories. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Cleaned up and simplified create_package().Andrew Fyfe1-25/+26
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-05-14Moved commands to create package file into create_package().Andrew Fyfe1-88/+91
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
2007-04-17Bug fix for FS#6944Alexander Baldeck1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-16makepkg: unset LC_MESSAGES during buildsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16makepkg: remove grep calls from stripping binariesAndrew Fyfe1-8/+9
Remove grep calls from stripping binaries and libraries, which will not work with localized strings. Clean up the find usage as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-16Forward port 3.0.2 branch fixesDan McGee1-2/+1
Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-11Fix FS #6872- CFLAGS are not usedDan McGee1-2/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-05makepkg: spelling fixRoman Kyrylych1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Enable support for other download protocols in makepkgDan McGee1-39/+59
This patch fixes FS #4404 as well as adding support for future protocols by generalizing the concept of a download agent and allowing a downloader to be specified for each protocol. Original work done by Andrew Fyfe <andrew@neptune-one.net>. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-04-04Backport changes from 3.0.1Aaron Griffin1-1/+5
* Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-04-01Tidy up usage of makepkg.confAndrew Fyfe1-10/+15
Moved the following variables into /etc/makepkg.conf * BUILDSCRIPT * PKGEXT * DB_COMPRESSION * DB_CHECKSUMS Cleaned up sourcing of /etc/makepkg.conf in scripts and source ~/.makepkg.conf if it exists. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31Gettext support in makepkgGiovanni Scafora1-126/+139
Add gettext support to makepkg. Still to do- figure out for sure what textdomain the translations should go in (perhaps share with pacman?), and ensure this doesn't break anything. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-03-31Move makepkg -> makepkg.in in anticaption of gettextized versionDan McGee1-0/+1081
Signed-off-by: Dan McGee <dan@archlinux.org>