[arch-commits] Commit in ccache/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Jan 18 20:12:51 UTC 2018


    Date: Thursday, January 18, 2018 @ 20:12:50
  Author: anthraxx
Revision: 283985

upgpkg: ccache 3.3.5-1

Modified:
  ccache/trunk/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 31 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-18 19:22:24 UTC (rev 283984)
+++ PKGBUILD	2018-01-18 20:12:50 UTC (rev 283985)
@@ -1,40 +1,51 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=ccache
-pkgver=3.3.4
-pkgrel=2
-pkgdesc="A compiler cache"
+pkgver=3.3.5
+pkgrel=1
+pkgdesc='Compiler cache that speeds up recompilation by caching previous compilations'
+url='https://ccache.samba.org/'
 arch=('x86_64')
-url="http://ccache.samba.org/"
 license=('GPL3')
 depends=('zlib')
-source=("http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('95ab3c56284129cc2a32460c23069516')
+source=(https://www.samba.org/ftp/ccache/ccache-${pkgver}.tar.xz{,.asc})
+validpgpkeys=('5A939A71A46792CF57866A51996DDA075594ADB8') # Joel Rosdahl <joel at rosdahl.net>
+sha256sums=('190576a6e938760ec8113523e6fd380141117303e90766cc4802e770422b30c6'
+            'SKIP')
+sha512sums=('808fa2a72a5e2f4c91d9cee00de9b9691cbb5c6f1350081bdd10cdd34423bc6f3fbc064ed4aa0e5923e585304c287034b452fbc4978e3582bf43f6574666a78b'
+            'SKIP')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-              --sysconfdir=/etc
-
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
   make
 }
 
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
 
-  install -Dm 755 ccache ${pkgdir}/usr/bin/ccache
-  install -Dm 644 ccache.1 ${pkgdir}/usr/share/man/man1/ccache.1
+  install -Dm 755 ccache -t "${pkgdir}/usr/bin"
+  install -Dm 644 ccache.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 AUTHORS.txt MANUAL.txt NEWS.txt README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 
-  install -d ${pkgdir}/usr/lib/ccache/bin
-
+  install -d "${pkgdir}/usr/lib/ccache/bin"
   local _prog
   for _prog in gcc g++ c++; do
-    ln -s /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/$_prog
-    ln -s /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/${CHOST}-$_prog
+    ln -s /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/$_prog"
+    ln -s /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/${CHOST}-$_prog"
   done
   for _prog in cc clang clang++; do
-    ln -s /usr/bin/ccache ${pkgdir}/usr/lib/ccache/bin/$_prog
+    ln -s /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/$_prog"
   done
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list