aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2017-07-20 07:10:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:56:13 +0700
commitab85de755e6628c06b4f239b29863945110b217f (patch)
tree58c5aed88e02dc4fc67088d7f848628163aa9c76
parent59c7a2e1ce4a0eed400ddeb204123a4b3f6eede0 (diff)
desktop/awesome: Updated for version 4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/awesome/awesome.SlackBuild5
-rw-r--r--desktop/awesome/awesome.info6
-rw-r--r--desktop/awesome/doinst.sh3
3 files changed, 9 insertions, 5 deletions
diff --git a/desktop/awesome/awesome.SlackBuild b/desktop/awesome/awesome.SlackBuild
index 740c11a649a18..ff29214c635df 100644
--- a/desktop/awesome/awesome.SlackBuild
+++ b/desktop/awesome/awesome.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=awesome
-VERSION=${VERSION:-4.0}
+VERSION=${VERSION:-4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,7 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
cd build
@@ -94,6 +94,7 @@ 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
mkdir -p $PKG/etc/X11/xinit
install -m 0755 -D $CWD/xinitrc.awesome $PKG/etc/X11/xinit/xinitrc.awesome
diff --git a/desktop/awesome/awesome.info b/desktop/awesome/awesome.info
index 7bec6bcc41970..75367425490bc 100644
--- a/desktop/awesome/awesome.info
+++ b/desktop/awesome/awesome.info
@@ -1,8 +1,8 @@
PRGNAM="awesome"
-VERSION="4.0"
+VERSION="4.2"
HOMEPAGE="https://awesomewm.org"
-DOWNLOAD="https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.0.tar.xz"
-MD5SUM="3dc903f7d5980fc15e7c6e6620040792"
+DOWNLOAD="https://github.com/awesomeWM/awesome-releases/raw/master/awesome-4.2.tar.xz"
+MD5SUM="bc6ef72481cfd13c61bc1740ef42a6b3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lgi libxdg-basedir xcb-util-xrm libxkbcommon"
diff --git a/desktop/awesome/doinst.sh b/desktop/awesome/doinst.sh
new file mode 100644
index 0000000000000..5fb28930db0b9
--- /dev/null
+++ b/desktop/awesome/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi