[arch-commits] Commit in ccache/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed May 12 22:48:58 UTC 2021
Date: Wednesday, May 12, 2021 @ 22:48:58
Author: anthraxx
Revision: 932837
archrelease: copy trunk to community-x86_64
Added:
ccache/repos/community-x86_64/PKGBUILD
(from rev 932836, ccache/trunk/PKGBUILD)
Deleted:
ccache/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-12 22:48:52 UTC (rev 932836)
+++ PKGBUILD 2021-05-12 22:48:58 UTC (rev 932837)
@@ -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.2.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' 'zstd' 'libzstd.so')
-makedepends=('cmake' 'asciidoc' '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=('46bb760ddad5999c5bdff4f3ce6e405eb2018c4a591ad76ba3dd7921b8bfd59a257d992d285e38d69aaf86537962602689175b8741894094819775eec9493b77'
- 'SKIP')
-b2sums=('10bb0d1e263e441d91c2dfcd2b2c89f64dfb10b4c5aa66012c388fea2c99d8488538e84b5cef86abf0c9f9aaa0a562b7c7be8a9d4a4073ae3c046e7fe28b7eda'
- '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 932836, ccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-12 22:48:58 UTC (rev 932837)
@@ -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.3
+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' 'zstd' 'libzstd.so')
+makedepends=('cmake' 'asciidoc' '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=('ec082de95ea8b22154ce1e67e0a0fc28266cfb71f382205f7eab14e6ac1c7841027d063041131832b3227d833d99ec874e90df238f35f433de4c381566931c7f'
+ 'SKIP')
+b2sums=('6ab48aa587b4dc86020e3b0f722003dc5c03709626e143a1d38506b6072f9963fc76e89b6d18128dfc28035bf8d24e46ea44f219db69a1b3a294416f0b023090'
+ '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