[arch-commits] Commit in ccache/repos/extra-i686 (PKGBUILD PKGBUILD)
Giovanni Scafora
giovanni at archlinux.org
Mon Aug 22 10:10:05 UTC 2011
Date: Monday, August 22, 2011 @ 06:10:04
Author: giovanni
Revision: 136056
archrelease: copy trunk to extra-i686
Added:
ccache/repos/extra-i686/PKGBUILD
(from rev 136055, ccache/trunk/PKGBUILD)
Deleted:
ccache/repos/extra-i686/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2011-08-22 10:09:42 UTC (rev 136055)
+++ PKGBUILD 2011-08-22 10:10:04 UTC (rev 136056)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=ccache
-pkgver=3.1.5
-pkgrel=1
-pkgdesc="A compiler cache"
-url="http://ccache.samba.org/"
-source=("http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.bz2")
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('zlib')
-md5sums=('f652bd20253bb4aa1440ae50bea3c9e3')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr
-
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- install -Dm 755 ccache ${pkgdir}/usr/bin/ccache
- install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1
-
- install -d ${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++
-}
Copied: ccache/repos/extra-i686/PKGBUILD (from rev 136055, ccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2011-08-22 10:10:04 UTC (rev 136056)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=ccache
+pkgver=3.1.6
+pkgrel=1
+pkgdesc="A compiler cache"
+arch=('i686' 'x86_64')
+url="http://ccache.samba.org/"
+license=('GPL')
+depends=('zlib')
+source=("http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('343dc9b642e1d2af1e6bd8e474dde92e')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ install -Dm 755 ccache ${pkgdir}/usr/bin/ccache
+ install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1
+
+ install -d ${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