diff --git a/srcpkgs/xscreensaver/template b/srcpkgs/xscreensaver/template index 43016711e6a..e097070ba61 100644 --- a/srcpkgs/xscreensaver/template +++ b/srcpkgs/xscreensaver/template @@ -1,7 +1,7 @@ # Template file for 'xscreensaver' pkgname=xscreensaver -version=6.00 -revision=2 +version=6.01 +revision=1 build_style=gnu-configure configure_args="--with-pam --with-login-manager --with-x-app-defaults=/usr/share/X11/app-defaults @@ -18,7 +18,14 @@ license="MIT" homepage="https://www.jwz.org/xscreensaver/" changelog="https://www.jwz.org/xscreensaver/changelog.html" distfiles="https://www.jwz.org/xscreensaver/xscreensaver-${version}.tar.gz" -checksum=585088974721b828ebd71fd3ebb019d1bf312133c956eac9672d61f6b49d7706 +checksum=085484665d91f60b4a1dedacd94bcf9b74b0fb096bcedc89ff1c245168e5473b + +do_extract() { + # Ugly hack as xscreensaver-6.01.tar.gz contains a spurious + # hardlink, which trips up bsdtar, but extracts correctly. + # So ignore the error. + bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz -C ${wrksrc}/.. || true +} do_install() { vmkdir etc/pam.d