xscreensaver: drop xscreensaver-systemd.6.

This commit is contained in:
Leah Neukirchen 2021-07-23 13:39:05 +02:00
parent af1c32f9b7
commit a25192c3ec

View file

@ -1,7 +1,7 @@
# Template file for 'xscreensaver'
pkgname=xscreensaver
version=6.01
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-pam --with-login-manager
--with-x-app-defaults=/usr/share/X11/app-defaults
@ -24,12 +24,13 @@ 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
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz -C ${wrksrc}/.. || true
}
do_install() {
vmkdir etc/pam.d
make install_prefix=${DESTDIR} install
rm ${DESTDIR}/usr/share/man/man6/xscreensaver-systemd.6
ln -s /usr/libexec/xscreensaver/xscreensaver-text ${DESTDIR}/usr/bin/xscreensaver-text
echo "NotShowIn=KDE;GNOME;" >> ${DESTDIR}/usr/share/applications/xscreensaver-properties.desktop
sed '/^$/q' < driver/xscreensaver.c > LICENSE