summaryrefslogtreecommitdiffstats
path: root/makechrootpkg.in
AgeCommit message (Collapse)AuthorFilesLines
2011-11-04Capitalize output messagesEric Bélanger1-3/+3
Some of the output/error messages were capitalized, some were not. This patch capitalize everything for consistency sake. Other minor changes were done to the messages like removing the superfluous "error:" from die messages and adding a final period to messages that were complete sentences as appropriate. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-01Move common functions to a shared filePierre Schmitz1-17/+13
* common.sh is included on build time * most functions are copied from makepkg
2011-10-31makechrootpkg: Handle install and changelog file the same way as in commitpkgPierre Schmitz1-4/+4
2011-10-31makechrootpkg: Do not export LANGPierre Schmitz1-1/+1
This is done by /etc/profile.d/locale.sh. By this we also ensure compatibility with systemd.
2011-10-29makechrootpkg: Make host pubring.gpg available to check signed sourcesPierre Schmitz1-3/+13
2011-10-29makechrootpkg: Set the C locale system widePierre Schmitz1-0/+3
makepkg sources /etc/profile before calling build(). This will change the locale from C to en_US.UTF8.
2011-10-14makechrootpkg: Avoid running namcap on non-package file like signaturesPierre Schmitz1-1/+1
We only use .xz or .gz compression for pacakges so we can be more specific and avoid a match of e.g. *.pkg.tar.xz.sig etc.
2011-10-07Always log builds in makechrootpkgAllan McRae1-1/+1
It is very helpful to always log the build output in makechrootpkg so pass "-L" as a standard option to makepkg. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: If chroot is missing, exit instead of usageJan Alexander Steffens (heftig)1-1/+1
I'm not sure why this was handled differently than the other error conditions. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Add option to explicitly run namcapJan Alexander Steffens (heftig)1-2/+8
Installs namcap if needed, *after* building the package, contrary to the former way of having to have namcap installed, e.g. via makedepends. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Source PKGBUILD only onceJan Alexander Steffens (heftig)1-11/+11
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Use nullglobJan Alexander Steffens (heftig)1-2/+2
Use nullglob instead of checking for existence. If the glob doesn't match any files, it will be removed instead of staying unexpanded. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Always set PKGDEST and SRCDESTJan Alexander Steffens (heftig)1-10/+6
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Replace $workdir with . ($PWD)Jan Alexander Steffens (heftig)1-4/+3
$workdir is never used when we change directory, so it's superfluous. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Eliminate appname, only used onceJan Alexander Steffens (heftig)1-2/+1
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07makechrootpkg: Bashify syntaxJan Alexander Steffens (heftig)1-113/+111
No functional change. Eliminates unused variables RUN and FORCE. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-10-07Support non-standard install locationsLukas Fleischer1-0/+305
This build system overhaul allows for adding (define-style) macros to our scripts. All source files are now suffixed with ".in" to clarify that they might contain unprocessed defines. The Makefile provides a new rule to preprocess source files and generate proper output scripts. Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it instead of hardcoded paths to "/usr/share/devtools" everywhere. We missed this when adding PREFIX support to the build system in commit 35fc83ce7d8dc26cd424321f2e8638d05da0a6d4. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>