aboutsummaryrefslogtreecommitdiff
path: root/desktop/bspwm/bspwm.SlackBuild
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2014-03-31 11:59:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-07 14:43:36 +0700
commitf714a15f4b84df6eda6e1dd0dc933342d5181d1d (patch)
tree6f33e722c4d5ac66e2f750de17f22706014b50c4 /desktop/bspwm/bspwm.SlackBuild
parent581b0ac67e9191678de1841aef8e135c73240346 (diff)
desktop/bspwm: Updated for version 0.8.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/bspwm/bspwm.SlackBuild')
-rw-r--r--desktop/bspwm/bspwm.SlackBuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/desktop/bspwm/bspwm.SlackBuild b/desktop/bspwm/bspwm.SlackBuild
index 2b094bda698b5..f5ce09ca24859 100644
--- a/desktop/bspwm/bspwm.SlackBuild
+++ b/desktop/bspwm/bspwm.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bspwm
-VERSION=${VERSION:-0.8.7}
+VERSION=${VERSION:-0.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,10 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# patch to git commit 8eb599400a
-patch -p1 < $CWD/patches/bspwm-0.8.7_8eb599400a.patch
-
-sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" Makefile
+# patch to git commit 0ca5bf31 (use -l due to major spaces to tabs conversion in Jan 2014)
+patch -l -p1 < $CWD/patches/bspwm-0.8.8_0ca5bf3.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -85,18 +83,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# install a xinitrc file
-install -m 0755 -D $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM.new
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- LICENSE doc/*.md doc/*.txt contrib examples \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE doc/*.md doc/*.txt contrib examples $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
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}