diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/xcb-imdkit/xcb-imdkit.SlackBuild | 40 | ||||
-rw-r--r-- | misc/xcb-imdkit/xcb-imdkit.info | 6 |
2 files changed, 21 insertions, 25 deletions
diff --git a/misc/xcb-imdkit/xcb-imdkit.SlackBuild b/misc/xcb-imdkit/xcb-imdkit.SlackBuild index 40ab7c4b1668..279d7d322f99 100644 --- a/misc/xcb-imdkit/xcb-imdkit.SlackBuild +++ b/misc/xcb-imdkit/xcb-imdkit.SlackBuild @@ -1,8 +1,6 @@ #!/bin/bash -# Slackware build script for xcb-imdkit - -# Copyright 2022 Wen-Wei Kao (ltlnx) Taipet, Taiwan +# Copyright 2022 Wen-Wei Kao (ltlnx), Taichung, Taiwan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -11,24 +9,24 @@ # 1. Redistributions of this script must retain the above copyright # notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xcb-imdkit -VERSION=${VERSION:-1.0.3} +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} +PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -79,10 +77,10 @@ find -L . \ mkdir -p build cd build cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release .. + -DCMAKE_CXX_FLAGS="${SLKCFLAGS}" \ + -DCMAKE_C_FLAGS="${SLKCFLAGS}" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} .. make make install/strip DESTDIR=$PKG cd .. @@ -95,9 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - LICENSES/* README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSES/* README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/xcb-imdkit/xcb-imdkit.info b/misc/xcb-imdkit/xcb-imdkit.info index 112279fb05d0..21899814673b 100644 --- a/misc/xcb-imdkit/xcb-imdkit.info +++ b/misc/xcb-imdkit/xcb-imdkit.info @@ -1,8 +1,8 @@ PRGNAM="xcb-imdkit" -VERSION="1.0.3" +VERSION="1.0.4" HOMEPAGE="https://github.com/fcitx/xcb-imdkit" -DOWNLOAD="https://download.fcitx-im.org/fcitx5/xcb-imdkit/xcb-imdkit-1.0.3.tar.xz" -MD5SUM="9b4f2914127779114a4f3067a53cde3f" +DOWNLOAD="https://download.fcitx-im.org/fcitx5/xcb-imdkit/xcb-imdkit-1.0.4.tar.xz" +MD5SUM="c4cda4c3d5630f6338958e55c2d61327" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |