[arch-commits] Commit in ccache/repos/community-x86_64 (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Jan 10 00:12:55 UTC 2019


    Date: Thursday, January 10, 2019 @ 00:12:54
  Author: anthraxx
Revision: 421344

archrelease: copy trunk to community-x86_64

Added:
  ccache/repos/community-x86_64/PKGBUILD
    (from rev 421343, ccache/trunk/PKGBUILD)
Deleted:
  ccache/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-10 00:12:47 UTC (rev 421343)
+++ PKGBUILD	2019-01-10 00:12:54 UTC (rev 421344)
@@ -1,51 +0,0 @@
-# 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.5
-pkgrel=1
-pkgdesc='Compiler cache that speeds up recompilation by caching previous compilations'
-url='https://ccache.samba.org/'
-arch=('x86_64')
-license=('GPL3')
-depends=('zlib')
-source=(https://www.samba.org/ftp/ccache/ccache-${pkgver}.tar.xz{,.asc})
-validpgpkeys=('5A939A71A46792CF57866A51996DDA075594ADB8') # Joel Rosdahl <joel at rosdahl.net>
-sha256sums=('bdd44b72ae4506a2e2deef9fefb15c606a474bbca7658cd2be26105155eec012'
-            'SKIP')
-sha512sums=('92181fb794f06dc231baa4193c37e8f1d844c9281fd64bcb8f4b35c87b4a88dfc9bf36b810b37151ee85699778fcd3783818949a7010e619aeca7e3b33b7a2e3'
-            'SKIP')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc
-  make
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  make check
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-
-  install -Dm 755 ccache -t "${pkgdir}/usr/bin"
-  install -Dm 644 doc/ccache.1 -t "${pkgdir}/usr/share/man/man1"
-  install -Dm 644 doc/{AUTHORS,MANUAL,NEWS}.adoc README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
-  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"
-  done
-  for _prog in cc clang clang++; do
-    ln -s /usr/bin/ccache "${pkgdir}/usr/lib/ccache/bin/$_prog"
-  done
-}
-
-# vim: ts=2 sw=2 et:

Copied: ccache/repos/community-x86_64/PKGBUILD (from rev 421343, ccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-10 00:12:54 UTC (rev 421344)
@@ -0,0 +1,51 @@
+# 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.5.1a
+pkgrel=1
+pkgdesc='Compiler cache that speeds up recompilation by caching previous compilations'
+url='https://ccache.samba.org/'
+arch=('x86_64')
+license=('GPL3')
+depends=('zlib')
+source=(https://www.samba.org/ftp/ccache/ccache-${pkgver}.tar.xz{,.asc})
+validpgpkeys=('5A939A71A46792CF57866A51996DDA075594ADB8') # Joel Rosdahl <joel at rosdahl.net>
+sha256sums=('0baea2c5bc4169ed3dad1f895e6d279323c5b8d3c9f0209998fe6da4601d0701'
+            'SKIP')
+sha512sums=('8a2e9eb06ba21fcf92084afd94fc221168693de545e0448f4da2098bef2bcbfdb017117c325b0bab4931b9e346dd8c1a9d1ebaed0cdc36496d9452985cdd1b43'
+            'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver/a/}
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver/a/}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver/a/}
+
+  install -Dm 755 ccache -t "${pkgdir}/usr/bin"
+  install -Dm 644 doc/ccache.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 doc/{AUTHORS,MANUAL,NEWS}.adoc README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  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"
+  done
+  for _prog in cc clang clang++; do
+    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