makepkg: add pkgbase variable
commit7df0d048d1617df2c5472fd2edd6858b3117d52f
authorAllan McRae <allan@archlinux.org>
Fri, 6 Mar 2009 08:28:47 +0000 (6 18:28 +1000)
committerAllan McRae <allan@archlinux.org>
Sun, 15 Mar 2009 23:17:10 +0000 (16 09:17 +1000)
treea839aeb71e81cf25839bf22d7fc8da2d241afaba
parent9519d22df7cef5b5a48a7d1ebee44a9e935e02b7
makepkg: add pkgbase variable

The pkgbase variable is added to improve informational output and
source package naming when using split packages.  Defaults to
${pkgname[0]} if not set.

Also:
 - move splitpkg detection to after pkgname presence is verified
 - add "cd" line to package_foo() functions in splitpkg proto

Signed-off-by: Allan McRae <allan@archlinux.org>
PKGBUILD-split.proto
scripts/makepkg.sh.in