Date: Monday, December 12, 2022 @ 15:22:57
  Author: alucryd
Revision: 1358844

upgpkg: sccache 0.3.3-1

Modified:
  sccache/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-12 14:36:20 UTC (rev 1358843)
+++ PKGBUILD    2022-12-12 15:22:57 UTC (rev 1358844)
@@ -3,8 +3,8 @@
 # Contributor: Jean Lucas <[email protected]>
 
 pkgname=sccache
-pkgver=0.3.0
-pkgrel=2
+pkgver=0.3.3
+pkgrel=1
 pkgdesc='Shared compilation cache'
 arch=(x86_64)
 url=https://github.com/mozilla/sccache
@@ -12,6 +12,7 @@
 depends=(
   gcc-libs
   glibc
+  libzstd.so
   openssl
   zlib
 )
@@ -23,7 +24,7 @@
   'memcached: Memcached support'
   'redis: Redis support'
 )
-_tag=f6e36e68c6cb1e17127273956df9ebf2127dff1a
+_tag=a31cf6491e6f3cd05c704ffb86d98ca8974300b0
 source=(git+https://github.com/mozilla/sccache.git#tag=${_tag})
 b2sums=(SKIP)
 
@@ -40,6 +41,7 @@
 
 build() {
   export CFLAGS+=' -ffat-lto-objects'
+  export LDFLAGS+=' -lzstd'
   cargo build \
     --release \
     --frozen \
@@ -58,6 +60,8 @@
 }
 
 package() {
+  export CFLAGS+=' -ffat-lto-objects'
+  export LDFLAGS+=' -lzstd'
   cargo install \
     --frozen \
     --offline \

Reply via email to