diff options
Diffstat (limited to 'desktop/bar/bar.SlackBuild')
-rw-r--r-- | desktop/bar/bar.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/desktop/bar/bar.SlackBuild b/desktop/bar/bar.SlackBuild index 71971ed2a26c..4fc0013edd9c 100644 --- a/desktop/bar/bar.SlackBuild +++ b/desktop/bar/bar.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=bar VERSION=${VERSION:-1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -61,26 +61,26 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION if [ ! -f $CWD/$PRGNAM-$VERSION.tar.gz ]; then - if [ -f $CWD/v$VERSION.tar.gz ]; then - mv $CWD/v$VERSION.tar.gz $CWD/$PRGNAM-$VERSION.tar.gz - fi + if [ -f $CWD/v$VERSION.tar.gz ]; then + mv $CWD/v$VERSION.tar.gz $CWD/$PRGNAM-$VERSION.tar.gz + fi fi tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# add monitor option for ordering and selective inclusion -patch -p1 < $CWD/patches/bar-monitor-option.patch - +# patch to commit 970332a +patch -p1 < $CWD/patches/bar-1.0_970332a.patch # adjust CFLAGS in Makefile to accept SLKCFLAGS patch -p1 < $CWD/patches/bar-Makefile-CFLAGS.patch -CFLAGS="$SLKCFLAGS" make +CFLAGS="$SLKCFLAGS" \ +make make doc install -D -m 755 bar $PKG/usr/bin/bar install -D -m 644 bar.1 $PKG/usr/man/man1/bar.1 |