aboutsummaryrefslogtreecommitdiff
path: root/network/weechat/weechat.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-09-23 17:31:42 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-30 07:19:19 +0700
commitb4dc9e417c778c2e3f10a4864a698b05bb64b8ef (patch)
tree00468554f2359841149bf1244c042896edd82254 /network/weechat/weechat.SlackBuild
parent24ac1bab97ec68838ee57ad9677454af29c252f4 (diff)
network/weechat: Updated for version 1.9.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'network/weechat/weechat.SlackBuild')
-rw-r--r--network/weechat/weechat.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild
index e490e4a44f93d..c15115e17b86d 100644
--- a/network/weechat/weechat.SlackBuild
+++ b/network/weechat/weechat.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=weechat
-VERSION=${VERSION:-1.9}
+VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,6 +75,7 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_MAN=ON \
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DCMAKE_BUILD_TYPE=Release \
..
@@ -84,6 +85,11 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+if [ -e $PKG/usr/share/man ]; then
+ mv $PKG/usr/share/man $PKG/usr/man
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+fi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS.adoc COPYING ChangeLog.adoc README.adoc ReleaseNotes.adoc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild