diff options
Diffstat (limited to 'desktop/i3/i3.SlackBuild')
-rw-r--r-- | desktop/i3/i3.SlackBuild | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild index 0b1c24dc86bb..e278d19a6145 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 |