[arch-commits] Commit in ccache/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jan 5 11:31:31 UTC 2022
Date: Wednesday, January 5, 2022 @ 11:31:30
Author: arojas
Revision: 1093242
archrelease: copy trunk to community-x86_64
Added:
ccache/repos/community-x86_64/PKGBUILD
(from rev 1093241, ccache/trunk/PKGBUILD)
Deleted:
ccache/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-05 11:31:18 UTC (rev 1093241)
+++ PKGBUILD 2022-01-05 11:31:30 UTC (rev 1093242)
@@ -1,56 +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=4.4.2
-pkgrel=1
-pkgdesc='Compiler cache that speeds up recompilation by caching previous compilations'
-url='https://ccache.dev/'
-arch=('x86_64')
-license=('GPL3')
-depends=('glibc' 'gcc-libs' 'hiredis' 'zstd' 'libzstd.so')
-makedepends=('cmake' 'asciidoctor' 'perl')
-source=(https://github.com/ccache/ccache/releases/download/v${pkgver}/ccache-${pkgver}.tar.xz{,.asc})
-validpgpkeys=('5A939A71A46792CF57866A51996DDA075594ADB8') # Joel Rosdahl <joel at rosdahl.net>
-sha512sums=('afcec4806b1e307ec16006ecd9e39eb69fc1376407877f024c882926725d41f2b08eccdcfb3efd8dac9e481d07f9c08c043b8cea5ea563a0f49b2f587325e4a7'
- 'SKIP')
-b2sums=('f0d8b9ac6e1972592ce5a51a392279a01f01c09e6bffc498ff0b20aa46acb6d7f949ae9f4c6006e20b15cdea9fa2fa057c78b69ef66c2e13b3ddee13367e91b1'
- 'SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}
- cmake \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=None \
- -Wno-dev \
- -B build \
- -S .
- make VERBOSE=1 -C build
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- make VERBOSE=1 check -C build
-}
-
-package() {
- cd ${pkgname}-${pkgver}
-
- make DESTDIR="${pkgdir}" install -C build
- make DESTDIR="${pkgdir}" install -C build/doc
-
- install -Dm 644 doc/*.md doc/*.adoc -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 1093241, ccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-05 11:31:30 UTC (rev 1093242)
@@ -0,0 +1,56 @@
+# 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=4.5.1
+pkgrel=1
+pkgdesc='Compiler cache that speeds up recompilation by caching previous compilations'
+url='https://ccache.dev/'
+arch=('x86_64')
+license=('GPL3')
+depends=('glibc' 'gcc-libs' 'hiredis' 'zstd' 'libzstd.so')
+makedepends=('cmake' 'asciidoctor' 'perl')
+source=(https://github.com/ccache/ccache/releases/download/v${pkgver}/ccache-${pkgver}.tar.xz{,.asc})
+validpgpkeys=('5A939A71A46792CF57866A51996DDA075594ADB8') # Joel Rosdahl <joel at rosdahl.net>
+sha512sums=('267dcc6b41270eeffe029d13e58eca3399540037cc19dc58bb5ebeb7dcc51b201fbde91c9824eaee5b14fbf28bb7304b78d1340118bc72e56b80ff148575bc56'
+ 'SKIP')
+b2sums=('637b6d36c169bc742efd165569879a47405c2884918ed3731186e8176c926fa0e8e9cd648756d501ae3b741c671e2399cfdb0bc216410bc64826d4fe00d69498'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make VERBOSE=1 check -C build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install -C build
+ make DESTDIR="${pkgdir}" install -C build/doc
+
+ install -Dm 644 doc/*.md doc/*.adoc -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