diff options
author | M.Dinslage <matthewdinslage@gmail.com> | 2022-10-23 20:01:21 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-29 10:28:34 +0700 |
commit | a16c56df0ed1b0a96e944b1c0f7efdac9e15d921 (patch) | |
tree | efac95a7a530ce3e2f4bf0f59dca69004dcc3bf3 /system/conky/conky.SlackBuild | |
parent | 9fca7fe86499f1edea9a49b7582be88b7eb7ae03 (diff) |
system/conky: Updated for version 1.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/conky/conky.SlackBuild')
-rw-r--r-- | system/conky/conky.SlackBuild | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/system/conky/conky.SlackBuild b/system/conky/conky.SlackBuild index a720da9f62ea5..241cf0edaf0f6 100644 --- a/system/conky/conky.SlackBuild +++ b/system/conky/conky.SlackBuild @@ -22,12 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# 20220409 bkw: Modified by SlackBuilds.org, BUILD=2: fix doist.sh. - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=conky -VERSION=${VERSION:-1.13.1} +VERSION=${VERSION:-1.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -96,9 +94,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ -# fix MANDIR -sed -i 's,share/man/man1,man/man1,g' CMakeLists.txt - mkdir -p build cd build cmake \ @@ -108,14 +103,14 @@ cd build -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DDOC_PATH=/usr/doc/$PRGNAM-$VERSION \ -DMAINTAINER_MODE=ON \ - -DBUILD_DOCS=ON \ + -DBUILD_DOCS=OFF \ + -DBUILD_EXTRAS=ON \ -DBUILD_XDBE=ON \ -DBUILD_AUDACIOUS=$audacious \ -DBUILD_NVIDIA=$nvidia \ -DBUILD_CURL=ON \ -DBUILD_WLAN=ON \ -DBUILD_RSS=ON \ - -DBUILD_WEATHER_METAR=ON \ -DBUILD_PULSEAUDIO=ON \ -DBUILD_MPD=ON \ -DBUILD_IMLIB2=ON \ @@ -133,8 +128,11 @@ find $PKG -type f -iname '*.a' -exec rm -rf {} \+ 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 +# Conky now requires pandoc to generate the man pages. +# No need to add that dependency, we will use the +# man page provided by the conky team. +mkdir -p $PKG/usr/man/man1 +cp $CWD/conky.1.gz $PKG/usr/man/man1 # Copy existing config files mkdir -p $PKG/etc/conky @@ -144,9 +142,9 @@ cp data/conky_no_x11.conf $PKG/etc/conky/conky_no_x11.conf.new # Vim and Nano syntax highlighting files mkdir -p $PKG/usr/share/nano mkdir -p $PKG/usr/share/vim/vimfiles/{syntax,ftdetect} -cp extras/vim/syntax/conkyrc.vim $PKG/usr/share/vim/vimfiles/syntax +cp build/extras/vim/syntax/conkyrc.vim $PKG/usr/share/vim/vimfiles/syntax cp extras/vim/ftdetect/conkyrc.vim $PKG/usr/share/vim/vimfiles/ftdetect -cp extras/nano/conky.nanorc $PKG/usr/share/nano/conky.nanorc +cp build/extras/nano/conky.nanorc $PKG/usr/share/nano/conky.nanorc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING LICENSE.BSD README.md \ |