[arch-commits] Commit in ccache/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Fri Jul 4 15:44:47 UTC 2014
Date: Friday, July 4, 2014 @ 17:44:47
Author: fyan
Revision: 114915
archrelease: copy trunk to community-i686, community-x86_64
Added:
ccache/repos/community-x86_64/PKGBUILD
(from rev 114914, ccache/trunk/PKGBUILD)
Deleted:
ccache/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-04 15:44:16 UTC (rev 114914)
+++ PKGBUILD 2014-07-04 15:44:47 UTC (rev 114915)
@@ -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.9
-pkgrel=1
-pkgdesc="A compiler cache"
-arch=('i686' 'x86_64')
-url="http://ccache.samba.org/"
-license=('GPL3')
-depends=('zlib')
-source=("http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('65f48376a91d3651d6527ca568858be8')
-
-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/community-x86_64/PKGBUILD (from rev 114914, ccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-07-04 15:44:47 UTC (rev 114915)
@@ -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.9
+pkgrel=2
+pkgdesc="A compiler cache"
+arch=('i686' 'x86_64')
+url="http://ccache.samba.org/"
+license=('GPL3')
+depends=('zlib')
+source=("http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('65f48376a91d3651d6527ca568858be8')
+
+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