diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2017-02-26 15:06:24 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-04 07:26:19 +0700 |
commit | e22a108422ef566bd98d3d1e0d0015cfe8af0f45 (patch) | |
tree | 7cfae077b1c97c8f90fea557b1bc0d9e20934c47 /network | |
parent | afcf239f0f114efaa3f22ea989f5fa5b887675d8 (diff) |
network/weechat: Updated for new maintainer and version 1.7.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'network')
-rw-r--r-- | network/weechat/weechat.SlackBuild | 23 | ||||
-rw-r--r-- | network/weechat/weechat.info | 10 |
2 files changed, 12 insertions, 21 deletions
diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild index b55e7bda87b6e..3ee366fb9b744 100644 --- a/network/weechat/weechat.SlackBuild +++ b/network/weechat/weechat.SlackBuild @@ -2,6 +2,7 @@ # Originally written by hollywoodb (hollywoodb@fastmail.fm) # Maintained by sero (firebird209 at gmail dot com) +# Maintained by Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=weechat -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-1.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -39,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -73,27 +74,17 @@ cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DENABLE_MAN=ON \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG cd .. -# Weechat still doesn't honour MANDIR, so let's fix this here -mv $PKG/usr/share/man $PKG/usr/man/ - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS.asciidoc COPYING ChangeLog.asciidoc README.asciidoc $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 mkdir -p $PKG/install diff --git a/network/weechat/weechat.info b/network/weechat/weechat.info index dee6d6906be4f..d9b4c0565a3e5 100644 --- a/network/weechat/weechat.info +++ b/network/weechat/weechat.info @@ -1,10 +1,10 @@ PRGNAM="weechat" -VERSION="1.5" +VERSION="1.7" HOMEPAGE="http://www.weechat.org" -DOWNLOAD="http://weechat.org/files/src/weechat-1.5.tar.bz2" -MD5SUM="fdf901d70234e7a6335afd5a16e9d42b" +DOWNLOAD="http://weechat.org/files/src/weechat-1.7.tar.bz2" +MD5SUM="593e836e164e75520cbf0442154e59d6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="firebird" -EMAIL="firebird209@gmail.com" +MAINTAINER="Benjamin Trigona-Harant" +EMAIL="slackbuilds@jaxartes.net" |