extra/xscreensaver to 6.03-1

This commit is contained in:
David Beauchamp 2022-03-08 18:08:28 -05:00
parent 6ebcb78334
commit b1b85c310b

View file

@ -5,7 +5,7 @@
# - disable marbling on aarch64, FTBFS
pkgname=xscreensaver
pkgver=6.02
pkgver=6.03
pkgrel=1
pkgdesc='Screen saver and locker for the X Window System'
url='https://www.jwz.org/xscreensaver/'
@ -22,15 +22,12 @@ optdepends=('gdm: for login manager support')
backup=('etc/pam.d/xscreensaver')
source=(https://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz
LICENSE)
sha512sums=('2291ec6ca2d2a24dae975f7f3a8e1733c06f289eb74955db5b3344c7ddcc1d72f82d380df984ef9199f2ed7ab8a7bc920da57d98f589ae5fd1cee082755ba1ff'
sha512sums=('4aa30824c972a73dc09aeba478cad074f273839a4c7641cddd292da38fc75db10a3f6243cbe8619c5e39cad54c27d33e1e271dfed167458faa7747fb0a090630'
'863c699479b2ec2775a0d1cba22e615929194a14af164b3513e46a0c04229da6547255a4da8f7f1bbb40906898c124ed3c9ec2436b76b62affcb62385af9783e')
b2sums=('2d931fe93230e8c7344abd9180e26ab8775f82604e6f4804c82821c486203be567708cf50f7a11276a6b39df493fe5652b4198765ecb3bc5afc8cbc5a01d4801'
b2sums=('1276e469e8f4116fac5d434aeacbc16ff8243b56095d39ff4fcbb390abad935e70d308d2a3ecfebaa453f2dd19944ecc2edb18a229248c02f2e3997f30436bce'
'cacb6ba39d6ecb8703ef5f5a7dc74de0ca805cce73b43a8b9b6b4c255c909aa9b5e692de76c2fbd4da26ce6efb5f2a46138c43b1b37f53cee6d20fd6ed41f4a9')
# workaround for broken tarball
noextract=($pkgname-$pkgver.tar.gz)
prepare() {
bsdtar xf ${pkgname}-${pkgver}.tar.gz || true
if [[ $CARCH == "aarch64" ]]; then
sed -i ${pkgname}-${pkgver}/hacks/Makefile.in -e 's@marbling binaryhorizon@binaryhorizon@'
fi