diff options
-rw-r--r-- | main/ccache/APKBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD index 5beddab31e..246d9600fe 100644 --- a/main/ccache/APKBUILD +++ b/main/ccache/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ccache -pkgver=3.7.3 -_pkgver=${pkgver} +pkgver=3.7.4 +_pkgver=$pkgver pkgrel=0 pkgdesc="A fast C/C++ compiler cache" url="https://ccache.dev/" @@ -11,8 +11,7 @@ license="GPL-3.0-or-later" makedepends="zlib-dev" checkdepends="bash perl" subpackages="$pkgname-doc" -source="https://github.com/ccache/ccache/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz" -builddir="$srcdir/$pkgname-$pkgver" +source="https://github.com/ccache/ccache/releases/download/v$pkgver/ccache-$pkgver.tar.xz" prepare() { default_prepare @@ -46,10 +45,10 @@ package() { local link= mkdir -p "$pkgdir"/usr/lib/ccache/bin - for link in cc gcc g++ cpp c++ ${CHOST}-cc ${CHOST}-gcc \ - ${CHOST}-g++ ${CHOST}-cpp ${CHOST}-c++; do + for link in cc gcc g++ cpp c++ $CHOST-cc $CHOST-gcc \ + $CHOST-g++ $CHOST-cpp $CHOST-c++; do ln -sf /usr/bin/ccache "$pkgdir"/usr/lib/ccache/bin/$link done } -sha512sums="74e6dd9558273af74aaf085d932955e8ded3d9f7d7b316172109af8f703f00a75fcc27187469d9cb5ba8654bcad12e406bede77cfcacbc0a752d5ca42e52c628 ccache-3.7.3.tar.xz" +sha512sums="cc382f37f7efb30a64f6fc2b136ef7424fe51795a778dbb18dde7c9e80636515f242f51c3ef3231f74d154e65ed9e815abf8241eb1a8f4e0b4fe4f533ea27146 ccache-3.7.4.tar.xz" |