[arch-commits] Commit in ccache/trunk (PKGBUILD)
Giovanni Scafora
giovanni at archlinux.org
Sat Apr 4 13:45:18 UTC 2009
Date: Saturday, April 4, 2009 @ 09:45:18
Author: giovanni
Revision: 33466
upgpkg: ccache 2.4-5
Fixed man path
Modified:
ccache/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-04 13:44:51 UTC (rev 33465)
+++ PKGBUILD 2009-04-04 13:45:18 UTC (rev 33466)
@@ -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