[arch-commits] Commit in sccache/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at gemini.archlinux.org
Thu Jun 30 16:34:36 UTC 2022
Date: Thursday, June 30, 2022 @ 16:34:35
Author: alucryd
Revision: 1243082
archrelease: copy trunk to community-x86_64
Added:
sccache/repos/community-x86_64/PKGBUILD
(from rev 1243081, sccache/trunk/PKGBUILD)
Deleted:
sccache/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 143 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 71 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-30 16:34:29 UTC (rev 1243081)
+++ PKGBUILD 2022-06-30 16:34:35 UTC (rev 1243082)
@@ -1,72 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Chocobo1 <chocobo1 at archlinux.net>
-# Contributor: Jean Lucas <jean at 4ray.co>
-
-pkgname=sccache
-pkgver=0.2.15
-pkgrel=2
-pkgdesc='Shared compilation cache'
-arch=(x86_64)
-url=https://github.com/mozilla/sccache
-license=(Apache)
-depends=(
- gcc-libs
- glibc
- openssl
- zlib
-)
-makedepends=(
- git
- rust
-)
-optdepends=(
- 'memcached: Memcached support'
- 'redis: Redis support'
-)
-_tag=6b6d2f7d2dceefeb4f583712aa4c221db62be0bd
-source=(git+https://github.com/mozilla/sccache.git#tag=${_tag})
-b2sums=(SKIP)
-options=(!lto)
-
-pkgver() {
- cd sccache
-
- git describe --tags | sed 's/^v//'
-}
-
-prepare() {
- cargo fetch \
- --locked \
- --manifest-path sccache/Cargo.toml
-}
-
-build() {
- cargo build \
- --release \
- --frozen \
- --manifest-path sccache/Cargo.toml \
- --features all \
- --features native-zlib
-}
-
-check() {
- cargo test \
- --release \
- --frozen \
- --manifest-path sccache/Cargo.toml \
- --features all \
- --features native-zlib
-}
-
-package() {
- cargo install \
- --frozen \
- --offline \
- --no-track \
- --path sccache \
- --root "${pkgdir}"/usr \
- --features all \
- --features native-zlib
-}
-
-# vim: ts=2 sw=2 et:
Copied: sccache/repos/community-x86_64/PKGBUILD (from rev 1243081, sccache/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-30 16:34:35 UTC (rev 1243082)
@@ -0,0 +1,71 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Chocobo1 <chocobo1 at archlinux.net>
+# Contributor: Jean Lucas <jean at 4ray.co>
+
+pkgname=sccache
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Shared compilation cache'
+arch=(x86_64)
+url=https://github.com/mozilla/sccache
+license=(Apache)
+depends=(
+ gcc-libs
+ glibc
+ openssl
+ zlib
+)
+makedepends=(
+ git
+ rust
+)
+optdepends=(
+ 'memcached: Memcached support'
+ 'redis: Redis support'
+)
+_tag=f6e36e68c6cb1e17127273956df9ebf2127dff1a
+source=(git+https://github.com/mozilla/sccache.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd sccache
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cargo fetch \
+ --locked \
+ --manifest-path sccache/Cargo.toml
+}
+
+build() {
+ export CFLAGS+=' -ffat-lto-objects'
+ cargo build \
+ --release \
+ --frozen \
+ --manifest-path sccache/Cargo.toml \
+ --features all \
+ --features native-zlib
+}
+
+check() {
+ cargo test \
+ --release \
+ --frozen \
+ --manifest-path sccache/Cargo.toml \
+ --features all \
+ --features native-zlib
+}
+
+package() {
+ cargo install \
+ --frozen \
+ --offline \
+ --no-track \
+ --path sccache \
+ --root "${pkgdir}"/usr \
+ --features all \
+ --features native-zlib
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list