aboutsummaryrefslogtreecommitdiff
path: root/misc/xcb-imdkit
diff options
context:
space:
mode:
authorltlnx <ltlnx.tw@gmail.com>2022-12-01 22:20:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-03 09:09:17 +0700
commit8677dd670c0f6ea8abbb320105b86f7278c76301 (patch)
tree239260e42ad50a2a9b97f3b2e4e4b98a34dd3b4d /misc/xcb-imdkit
parentcdf83780a194fb2214d6f1af8e81b5ec0e43ffba (diff)
misc/xcb-imdkit: Updated for version 1.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/xcb-imdkit')
-rw-r--r--misc/xcb-imdkit/xcb-imdkit.SlackBuild40
-rw-r--r--misc/xcb-imdkit/xcb-imdkit.info6
2 files changed, 21 insertions, 25 deletions
diff --git a/misc/xcb-imdkit/xcb-imdkit.SlackBuild b/misc/xcb-imdkit/xcb-imdkit.SlackBuild
index 40ab7c4b16684..279d7d322f99a 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 112279fb05d07..21899814673b9 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=""