summaryrefslogtreecommitdiff
path: root/desktop/awesome/awesome.SlackBuild
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2013-12-23 10:18:09 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-12-25 15:05:40 -0600
commit9e72f5fac1ecf5f89a2ca591f93ed4c44cc174d0 (patch)
treee7fa03baa34853e45790891aef71640720ea415e /desktop/awesome/awesome.SlackBuild
parent05dac2495fc0fa226c8c0b0fa7e274635b4c90dc (diff)
downloadslackbuilds-9e72f5fac1ecf5f89a2ca591f93ed4c44cc174d0.tar.gz
desktop/awesome: Updated for version 3.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/awesome/awesome.SlackBuild')
-rw-r--r--desktop/awesome/awesome.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/desktop/awesome/awesome.SlackBuild b/desktop/awesome/awesome.SlackBuild
index 1ea3b046ac..bce61503f8 100644
--- a/desktop/awesome/awesome.SlackBuild
+++ b/desktop/awesome/awesome.SlackBuild
@@ -22,10 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=awesome
-VERSION=${VERSION:-3.5.1}
+VERSION=${VERSION:-3.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -66,15 +64,15 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -ldl" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DAWESOME_MAN_PATH=/usr/man \
@@ -91,12 +89,14 @@ 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 -m 0755 -D $CWD/xinitrc.awesome $PKG/etc/X11/xinit/xinitrc.awesome
-
+mkdir -p $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
+mkdir -p $PKG/etc/X11/xinit
+install -m 0755 -D $CWD/xinitrc.awesome $PKG/etc/X11/xinit/xinitrc.awesome
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}