summaryrefslogtreecommitdiff
path: root/desktop/i3
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds[at]schoepfer[dot]info>2017-09-27 08:03:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-30 07:19:12 +0700
commit99e9a0fe2808e15cc5aff09a8fb13d723ced275f (patch)
treecebdfb78950d26dd029992a75f14fbddfbeb7c16 /desktop/i3
parentd6afe2dee556fc0abb673f0bba7038ef5e3173f0 (diff)
downloadslackbuilds-99e9a0fe2808e15cc5aff09a8fb13d723ced275f.tar.gz
desktop/i3: Updated for version 4.14.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/i3')
-rw-r--r--desktop/i3/README7
-rw-r--r--desktop/i3/i3.SlackBuild28
-rw-r--r--desktop/i3/i3.info8
3 files changed, 29 insertions, 14 deletions
diff --git a/desktop/i3/README b/desktop/i3/README
index 6475beb284..350415f0b3 100644
--- a/desktop/i3/README
+++ b/desktop/i3/README
@@ -7,9 +7,4 @@ wasn't easy to hack at all (source code comments/documentation completely
lacking). Still, we think the wmii developers and contributors did a
great job. Thank you for inspiring us to create i3.
-Please be aware that i3 is primarily targeted at advanced users and
-developers.
-
-i3status is optional, but useful to provide a system status
-bar. As of v4.8 there is the optional dependencies perl-AnyEvent-I3.
-It is required for i3's new layout saving/restoring features.
+i3status is optional, but useful to provide a system status bar.
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 0b1c24dc86..e278d19a61 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=i3
-VERSION=${VERSION:-4.14}
+VERSION=${VERSION:-4.14.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -108,9 +108,6 @@ mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.i3 > $PKG/etc/X11/xinit/xinitrc.i3
chmod 0755 $PKG/etc/X11/xinit/xinitrc.i3
-# man pages
-find $PKG/usr/man -type f -exec gzip -9 {} +
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html $PKG/usr/doc/$PRGNAM-$VERSION/txt
cp -a DEPENDS LICENSE RELEASE-NOTES-* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
@@ -118,6 +115,29 @@ cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
mv *.html *.png *.css ../html/
rm i3-pod2html *.conf *.dia
)
+
+cd AnyEvent-I3
+
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
+
+find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3
+cp -a Changes README MANIFEST $PKG/usr/doc/$PRGNAM-$VERSION/AnyEvent-I3/
+
+# man pages
+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
+
+find $PKG -depth -type d -empty -delete || true
+
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/i3/i3.info b/desktop/i3/i3.info
index f07d41fc80..11d28cefd3 100644
--- a/desktop/i3/i3.info
+++ b/desktop/i3/i3.info
@@ -1,10 +1,10 @@
PRGNAM="i3"
-VERSION="4.14"
+VERSION="4.14.1"
HOMEPAGE="http://www.i3wm.org"
-DOWNLOAD="http://i3wm.org/downloads/i3-4.14.tar.bz2"
-MD5SUM="ad134ada9972943b799feaddfb1f3121"
+DOWNLOAD="http://i3wm.org/downloads/i3-4.14.1.tar.bz2"
+MD5SUM="0f4eec9e5a9f7be060bda41206b13f87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="dmenu libev libxkbcommon xcb-util-xrm yajl"
+REQUIRES="dmenu libev libxkbcommon xcb-util-xrm yajl perl-JSON-XS perl-AnyEvent"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds[at]schoepfer[dot]info"