summaryrefslogtreecommitdiffstats
path: root/commitpkg.in
AgeCommit message (Collapse)AuthorFilesLines
2011-12-04Use double brackets everywhereLukas Fleischer1-19/+19
We already fixed a couple of these in previous patches - this one should replace all remaining uses of single brackets ("[") by double brackets. Also, use arithmetic evaluation instead of conditional expressions where appropriate and make use of "-z" and "-n" instead of comparing variables to empty strings. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-12-04Add support for kde-unstable and gnome-unstablePierre Schmitz1-1/+1
2011-11-21Skip archrelease for missing architecturesPierre Schmitz1-7/+11
2011-11-04commitpkg: Fix commit messageLukas Fleischer1-1/+1
Move the message template before the if block. We moved this to the else branch in commit aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2 which lead to "msgtemplate" being unset if one specifies a commit message on the command line, thus stripping the "upgpkg:" part. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04commitpkg: Make svn quieterEric Bélanger1-3/+3
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-11-04Capitalize output messagesEric Bélanger1-11/+11
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-53/+35
* common.sh is included on build time * most functions are copied from makepkg
2011-10-31commitpkg: Require signatures for packagesPierre Schmitz1-1/+1
2011-10-31commitpkg: Check signature if availablePierre Schmitz1-0/+3
2011-10-31commitpkg: Skip signing if signature already existsPierre Schmitz1-3/+2
2011-10-29commitpkg: Sync changelog/install check with makepkg(8)Lukas Fleischer1-4/+3
makepkg(8) currently uses a smarter method to extract all changelog and install files from a PKGBUILD. Sync commitpkg to use the same code (with small modifications). This also adds support for changelog/install files that contain a whitespace. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-10-07Support non-standard install locationsLukas Fleischer1-0/+207
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>