|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-awesome} |
|
|
|
|
VERSION=${VERSION:-3.5.2} |
|
|
|
|
VERSION=${VERSION:-3.5.3} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-http://awesome.naquadah.org/download/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -80,11 +80,7 @@ cmake \
|
|
|
|
|
-DAWESOME_MAN_PATH=/usr/man \ |
|
|
|
|
.. |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Strip binaries |
|
|
|
|
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \ |
|
|
|
|
xargs strip --strip-unneeded 2> /dev/null |
|
|
|
|
make install/strip DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Create a wrapper script to ensure that a D-Bus session bus is |
|
|
|
|
# set before launching Awesome... |
|
|
|
@ -99,7 +95,7 @@ EOF
|
|
|
|
|
chmod 755 $PKG/usr/bin/startawesome |
|
|
|
|
|
|
|
|
|
# and have the desktop file refers to that wrapper script |
|
|
|
|
sed -i 's/Exec=awesome/Exec=startawesome' $PKG/usr/share/xsessions/awesome.desktop |
|
|
|
|
sed -i 's/Exec=awesome/Exec=startawesome/' $PKG/usr/share/xsessions/awesome.desktop |
|
|
|
|
|
|
|
|
|
# Protect configuration file |
|
|
|
|
mv $PKG/etc/xdg/awesome/rc.lua $PKG/etc/xdg/awesome/rc.lua.new |
|
|
|
|