From 418242e967afa66f7754370c971631105fd133cd Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 11 Jul 2016 07:03:52 +0700 Subject: desktop/spectrwm: Update DOWNLOAD and HOMEPAGE url. Signed-off-by: Willy Sudiarto Raharjo --- desktop/spectrwm/spectrwm.SlackBuild | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'desktop/spectrwm/spectrwm.SlackBuild') diff --git a/desktop/spectrwm/spectrwm.SlackBuild b/desktop/spectrwm/spectrwm.SlackBuild index 5ad7b39c43..ca3cc4494c 100644 --- a/desktop/spectrwm/spectrwm.SlackBuild +++ b/desktop/spectrwm/spectrwm.SlackBuild @@ -40,6 +40,7 @@ CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +UPNAM=$PRGNAM-SPECTRWM_2_7_2 # changed to allow cd to proper folder if [ "$ARCH" = "i486" ];then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -61,8 +62,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tgz -cd $PRGNAM-$VERSION +tar xvf $CWD/$UPNAM.tar.gz +cd $UPNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -90,14 +91,19 @@ rm -f $PKG/usr/bin/scrotwm # Compress the manpages ( cd $PKG/usr/man; find . -type f -exec gzip -9 {} \; ) -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples/keybindings +mkdir -p $PKG/usr/doc/$UPNAM/examples/keybindings install -m0644 -oroot -groot initscreen.sh $CWD/examples/* \ - $PKG/usr/doc/$PRGNAM-$VERSION/examples/ -cp -a spectrwm.conf $PKG/usr/doc/$PRGNAM-$VERSION/examples/spectrwm_orig.conf -cp -a spectrwm_*.conf $PKG/usr/doc/$PRGNAM-$VERSION/examples/keybindings/ -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + $PKG/usr/doc/$UPNAM/examples/ +cp -a spectrwm.conf $PKG/usr/doc/$UPNAM/examples/spectrwm_orig.conf +cp -a spectrwm_*.conf $PKG/usr/doc/$UPNAM/examples/keybindings/ +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$UPNAM/$PRGNAM.SlackBuild find $PKG/usr/doc -type f -exec chmod 0644 {} \; +# install xinitrc script +mkdir -p $PKG/etc/X11/xinit +cat $CWD/xinitrc.$PRGNAM > $PKG/etc/X11/xinit/xinitrc.$PRGNAM +chmod 0755 $PKG/etc/X11/xinit/xinitrc.$PRGNAM + # desktop integration mkdir -m755 -p "${PKG}/usr/share/applications/" cp -a linux/spectrwm.desktop "${PKG}/usr/share/applications/" -- cgit v1.2.3