diff options
author | Ian <ian@jewett.us> | 2016-07-11 07:03:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-15 21:48:46 +0700 |
commit | 418242e967afa66f7754370c971631105fd133cd (patch) | |
tree | 32921389a5018acd21b730f492cda167541d12bf /desktop/spectrwm/spectrwm.SlackBuild | |
parent | 516fc5b63bbc2ef3a742493ef37141e06c973053 (diff) | |
download | slackbuilds-418242e967afa66f7754370c971631105fd133cd.tar.gz |
desktop/spectrwm: Update DOWNLOAD and HOMEPAGE url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/spectrwm/spectrwm.SlackBuild')
-rw-r--r-- | desktop/spectrwm/spectrwm.SlackBuild | 20 |
1 files changed, 13 insertions, 7 deletions
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/" |