theslinux-buildsystem branch fetchmail updated a88c147 In :source, replace :pkgname by :pkgbase

  • From: git@xxxxxxxxxxxxxxxxxxxx
  • To: theslinux-phantom@xxxxxxxxxxxxx
  • Date: Thu, 01 Aug 2013 04:18:04 -0700

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "theslinux-buildsystem".

The branch, fetchmail has been updated
       via  a88c14789e7b0a8f82a665f034b626960ba1d1e2 (commit)
      from  cdc3252912f2cd3d5bfe3e55766f6de995b99b0f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a88c14789e7b0a8f82a665f034b626960ba1d1e2
Author: Ky-Anh Huynh <kyanh@xxxxxxxxxxxxx>
Date:   Thu Aug 1 18:14:04 2013 +0700

    In :source, replace :pkgname by :pkgbase
    
    A reminder: :pkgname maybe an array, while :pkgbase reflects
    exactly the :base of the package. Because :source is evaluated
    very soon, the :pkgname may not be valid (TheSLinux only).
    It took me > 30 minutes to figure out what :pkgname is in the
    source tree of ArchLinux :makepkg.
    
    If you have the same question remember to check the function
    (run_split_packaging). In this function, an iterator named :pgkname
    is used to go through the list of all sub-packages. Basically,
    :pkgname has two different means:
      (1) a list of sub-packages
      (2) the name of package name that is being built.
    That is why sometimes :pkgname is needed, but sometimes it is not.
    I do not know why this is it, but I should do the same thing;
    the variable is mutable, the variable may be changed, but if
    we update its mean it may be terrible.
    
    So much time for this stuff now I go for some drink ^^

-----------------------------------------------------------------------

Summary of changes:
 fetchmail/PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fetchmail/PKGBUILD b/fetchmail/PKGBUILD
index 6ed0e7f..5f13362 100644
--- a/fetchmail/PKGBUILD
+++ b/fetchmail/PKGBUILD
@@ -13,8 +13,8 @@ optdepends=('tk: for using fetchmailconf'
             'python2: for using fetchmailconf')
 options=('!makeflags')
 install='fetchmail.install'
-source=("http://download.berlios.de/$pkgname/${pkgname}-${pkgver}.tar.xz";
-        "http://download.berlios.de/$pkgname/${pkgname}-${pkgver}.tar.xz.asc";
+source=("http://download.berlios.de/$pkgbase/${pkgbase}-${pkgver}.tar.xz";
+        "http://download.berlios.de/$pkgbase/${pkgbase}-${pkgver}.tar.xz.asc";
         'fetchmail.tmpfiles' 'fetchmail.service')
 
 build() {


hooks/post-receive
-- 
theslinux-buildsystem
--
Purpose: Store commits, feeds from other projects
Post: mailto:theslinux-phantom@xxxxxxxxxxxxx
Archive, Gmane: http://theslinux.org/lists/phantom/
Subscribe: mailto:theslinux-phantom-request@xxxxxxxxxxxxx?Subject=subscribe
Unsubscribe: mailto:theslinux-phantom-request@xxxxxxxxxxxxx?Subject=unsubscribe
Other information: http://theslinux.org/lists (vi) or 
http://theslinux.org/lists/en (en)
Support: mailto:theslinux-questions@xxxxxxxxxxxxx

Other related posts:

  • » theslinux-buildsystem branch fetchmail updated a88c147 In :source, replace :pkgname by :pkgbase - git