diff --git a/srcpkgs/ccache/template b/srcpkgs/ccache/template index ca27c7716b3..1d2237b6db6 100644 --- a/srcpkgs/ccache/template +++ b/srcpkgs/ccache/template @@ -1,7 +1,8 @@ # Template file for 'ccache' pkgname=ccache -version=3.5.1 +version=3.5.1a revision=1 +wrksrc=${pkgname}-${version%a} bootstrap=yes build_style=gnu-configure makedepends="zlib-devel" @@ -11,12 +12,7 @@ homepage="https://ccache.samba.org/" changelog="https://ccache.samba.org/news.html" license="GPL-3.0-or-later" distfiles="https://samba.org/ftp/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=0fe1baa18208ba11abd188ab6eeaf4453b08ee783945dbb357dd93c2308a1d60 - -pre_build() { - # Probably a missing AC_SUBST(getopt_long_c) somewhere. - sed -i Makefile -e "s;@getopt_long_c@;src/getopt_long.c;g" -} +checksum=0baea2c5bc4169ed3dad1f895e6d279323c5b8d3c9f0209998fe6da4601d0701 post_install() { vmkdir usr/lib/ccache/bin