desktop/xdm-slackware-theme: Updated for version 2020.0101.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Sébastien Ballet 2020-01-02 21:43:10 -06:00 committed by Willy Sudiarto Raharjo
parent 75c49cd7ca
commit ac80eb84e1
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 27 additions and 38 deletions

View file

@ -1,5 +1,3 @@
# Handle the incoming configuration file
#
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"

View file

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
xdm-slackware-theme: xdm-slackware-theme (XDM theme for slackware)
xdm-slackware-theme:
xdm-slackware-theme: a customizable slackware's theme for the XDM login manager.
xdm-slackware-theme:
xdm-slackware-theme: xdm-slackware-theme is a customizable slackware theme for the
xdm-slackware-theme: XDM login manager.
xdm-slackware-theme:
xdm-slackware-theme: Homepage: https://sourceforge.net/projects/xdm-slackware-theme/
xdm-slackware-theme:
xdm-slackware-theme:
xdm-slackware-theme:
xdm-slackware-theme: https://sourceforge.net/projects/xdm-slackware-theme/
xdm-slackware-theme:
xdm-slackware-theme:
xdm-slackware-theme:

View file

@ -2,7 +2,7 @@
# Slackware build script for xdm-slackware-theme
# Copyright 2017-2019 Sébastien Ballet France
# Copyright 2017-2020 Sébastien Ballet France
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,9 +24,10 @@
#
PRGNAM=xdm-slackware-theme
VERSION=${VERSION:-2019.1023}
VERSION=${VERSION:-2020.0101}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
@ -57,19 +58,11 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p ${PKG}/etc/X11/xdm/slackware
mkdir -p ${PKG}/etc/X11/xdm/slackware/extensions.d
mkdir -p ${PKG}/usr/libexec/setxdmbg
mkdir -p ${PKG}/usr/bin
mkdir -p ${PKG}/usr/man/man1
mkdir -p ${PKG}/usr/man/man5
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
for SCRIPT in Xbuttons_bar Xreset Xsession Xsetup Xstartup ; do
cat ${SCRIPT} > ${PKG}/etc/X11/xdm/slackware/${SCRIPT}
done
cat setxdmbg.sh > ${PKG}/usr/libexec/setxdmbg/setxdmbg.sh
mkdir -p ${PKG}/etc/X11/xdm/slackware/extensions.d
for EXT in analog-clock sysmon-conky xdm-screensaver ; do
cat extensions.d/${EXT} > ${PKG}/etc/X11/xdm/slackware/extensions.d/${EXT}
done
@ -91,8 +84,13 @@ done
cp -R pixmaps ${PKG}/etc/X11/xdm/slackware
mkdir -p ${PKG}/usr/libexec/setxdmbg
cat setxdmbg.sh > ${PKG}/usr/libexec/setxdmbg/setxdmbg.sh
mkdir -p ${PKG}/usr/man/man1
cat setxdmbg.1 | gzip -9c > ${PKG}/usr/man/man1/setxdmbg.1.gz
mkdir -p ${PKG}/usr/man/man5
cat Xbuttons_bar.conf.5 | gzip -9c > ${PKG}/usr/man/man5/Xbuttons_bar.conf.5.gz
cat Xsession.conf.5 | gzip -9c > ${PKG}/usr/man/man5/Xsession.conf.5.gz
cat Xsetup.conf.5 | gzip -9c > ${PKG}/usr/man/man5/Xsetup.conf.5.gz
@ -104,33 +102,27 @@ cat xdm-screensaver.conf.5 | gzip -9c > ${PKG}/usr/man/man5/xdm-screensaver.conf
chmod 755 ${PKG}/etc/X11/xdm/slackware/Xbuttons_bar
chmod 755 ${PKG}/usr/libexec/setxdmbg/setxdmbg.sh
(
cd ${PKG}/usr/bin
ln -sf ../libexec/setxdmbg/setxdmbg.sh setxdmbg
)
mkdir -p ${PKG}/usr/bin
ln -sf /usr/libexec/setxdmbg/setxdmbg.sh $PKG/usr/bin/setxdmbg
if [ -e ${PKG}/etc/X11/xdm/slackware/pixmaps/${XDMBGIMG} ] ; then
(
cd ${PKG}/etc/X11/xdm/slackware/pixmaps
ln -sf ${XDMBGIMG} default-wallpaper.pixmap
)
ln -sf ${XDMBGIMG} ${PKG}/etc/X11/xdm/slackware/pixmaps/default-wallpaper.pixmap ;
else
echo "Error: '${XDMBGIMG}' does not exist ..."
exit 1
fi
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
for DOC in LICENSE README readme.html setxdmbg.html ; do
cat ${DOC} > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${DOC}
done
cp slackware-s-logo.xcf ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cp -R adoc ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cat ${CWD}/${PRGNAM}.SlackBuild > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild
mkdir -p ${PKG}/install
cat ${CWD}/slack-desc > ${PKG}/install/slack-desc
cat ${CWD}/doinst.sh > ${PKG}/install/doinst.sh
for DOC in LICENSE README readme.html setxdmbg.html ; do
cat ${DOC} > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${DOC}
done
cp slackware-s-logo.xcf ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cp -R adoc ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cat ${CWD}/${PRGNAM}.SlackBuild > ${PKG}/usr/doc/${PRGNAM}-${VERSION}/${PRGNAM}.SlackBuild
cd ${PKG}
/sbin/makepkg -l y -c n ${OUTPUT}/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.${PKGTYPE:-tgz}

View file

@ -1,11 +1,10 @@
PRGNAM="xdm-slackware-theme"
VERSION="2019.1023"
VERSION="2020.0101"
HOMEPAGE="https://sourceforge.net/projects/xdm-slackware-theme/"
DOWNLOAD="https://sourceforge.net/projects/xdm-slackware-theme/files/source/xdm-slackware-theme-2019.1023.tar.gz"
MD5SUM="8b865e49d9aae84182a54265696197c8"
DOWNLOAD="https://sourceforge.net/projects/xdm-slackware-theme/files/source/xdm-slackware-theme-2020.0101.tar.gz"
MD5SUM="d398527307983852f01bbc38462cf33c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Sébastien Ballet"
EMAIL="slacker6896@gmail.com"