xscreensaver: add perl deps, put xscreensaver-text into path.

Closes #30818.
This commit is contained in:
Leah Neukirchen 2021-05-14 19:37:41 +02:00
parent 6387c58f4e
commit 103995f4da
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xscreensaver'
pkgname=xscreensaver
version=6.00
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-pam --with-login-manager
--with-x-app-defaults=/usr/share/X11/app-defaults
@ -11,6 +11,7 @@ conf_files="/etc/pam.d/xscreensaver"
hostmakedepends="bc intltool pkg-config"
makedepends="glu-devel libXi-devel libXinerama-devel libXmu-devel libXpm-devel
libXrandr-devel libglade-devel pam-devel"
depends="perl perl-LWP"
short_desc="Screen saver and locker for the X Window System"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
@ -22,6 +23,7 @@ checksum=585088974721b828ebd71fd3ebb019d1bf312133c956eac9672d61f6b49d7706
do_install() {
vmkdir etc/pam.d
make install_prefix=${DESTDIR} install
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
vlicense LICENSE