[arch-commits] Commit in ccache/repos (extra-i686 extra-i686/PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sat Apr 4 13:56:17 UTC 2009


    Date: Saturday, April 4, 2009 @ 09:56:15
  Author: giovanni
Revision: 33524

Merged revisions 356,33466 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/ccache/trunk

........
  r356 | aaron | 2008-04-18 15:56:27 -0700 (ven, 18 apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r33466 | giovanni | 2009-04-04 06:45:18 -0700 (sab, 04 apr 2009) | 2 lines
  
  upgpkg: ccache 2.4-5
      Fixed man path
........

Modified:
  ccache/repos/extra-i686/	(properties)
  ccache/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)


Property changes on: ccache/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /ccache/trunk:1
   + /ccache/trunk:1-33505

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-04-04 13:56:01 UTC (rev 33523)
+++ extra-i686/PKGBUILD	2009-04-04 13:56:15 UTC (rev 33524)
@@ -1,34 +1,35 @@
 # $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-# Maintainer: Kevin Piche <kevin at archlinux.org>
 
 pkgname=ccache
 pkgver=2.4
-pkgrel=4
+pkgrel=5
 pkgdesc="ccache is a compiler cache"
 url="http://ccache.samba.org/"
-source=(http://samba.org/ftp/ccache/$pkgname-$pkgver.tar.gz)
-license=(GPL)
-arch=(i686 x86_64)
-depends=(glibc)
+source=(http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.gz)
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc')
 md5sums=('73c1ed1e767c1752dd0f548ec1e66ce7')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make || return 1
-  install -Dm 755 ccache $startdir/pkg/usr/bin/ccache
-  install -Dm 644 ccache.1 $startdir/pkg/usr/man/man1/ccache.1
+  install -Dm 755 ccache ${pkgdir}/usr/bin/ccache
+  install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1
 
-  mkdir -p $startdir/pkg/usr/lib/ccache/bin
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/cc 
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/gcc
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/g++
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/cpp
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/c++
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/${CHOST}-cc
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/${CHOST}-gcc
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/${CHOST}-g++
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/${CHOST}-cpp
-  ln -sf /usr/bin/ccache $startdir/pkg/usr/lib/ccache/bin/${CHOST}-c++
+  mkdir -p ${pkgdir}/usr/lib/ccache/bin
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cc 
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/gcc
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/g++
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/cpp
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/c++
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cc
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-gcc
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-g++
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-cpp
+  ln -sf /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-c++
 }
+




More information about the arch-commits mailing list