diff options
Diffstat (limited to 'source/x')
-rw-r--r-- | source/x/fcitx-configtool/fcitx-configtool.url | 1 | ||||
-rw-r--r-- | source/x/libgee/libgee.url | 1 | ||||
-rwxr-xr-x | source/x/marisa/marisa.SlackBuild | 22 | ||||
-rw-r--r-- | source/x/marisa/marisa.url | 1 |
4 files changed, 18 insertions, 7 deletions
diff --git a/source/x/fcitx-configtool/fcitx-configtool.url b/source/x/fcitx-configtool/fcitx-configtool.url new file mode 100644 index 00000000..34012df2 --- /dev/null +++ b/source/x/fcitx-configtool/fcitx-configtool.url @@ -0,0 +1 @@ +https://download.fcitx-im.org/fcitx-configtool diff --git a/source/x/libgee/libgee.url b/source/x/libgee/libgee.url new file mode 100644 index 00000000..7df6b30f --- /dev/null +++ b/source/x/libgee/libgee.url @@ -0,0 +1 @@ +https://download.gnome.org/sources/libgee/ diff --git a/source/x/marisa/marisa.SlackBuild b/source/x/marisa/marisa.SlackBuild index e2c19ff9..f21f027d 100755 --- a/source/x/marisa/marisa.SlackBuild +++ b/source/x/marisa/marisa.SlackBuild @@ -1,7 +1,5 @@ #!/bin/bash -# Slackware build script for marisa - # Copyright 2016 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. @@ -26,7 +24,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=marisa -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)} +SRCNAM=marisa-trie +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -74,9 +73,9 @@ PKG=$TMP/package-marisa rm -rf $PKG mkdir -p $TMP $PKG cd $TMP -rm -rf marisa-$VERSION -tar xvf $CWD/marisa-$VERSION.tar.?z || exit 1 -cd marisa-$VERSION || exit 1 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1 +cd $SRCNAM-$VERSION || exit 1 chown -R root:root . find . \ @@ -85,6 +84,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -141,7 +148,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README \ +cp -a AUTHORS* ChangeLog* COPYING* INSTALL* NEWS* README* \ + docs/readme* \ $PKG/usr/doc/$PKGNAM-$VERSION mkdir -p $PKG/install diff --git a/source/x/marisa/marisa.url b/source/x/marisa/marisa.url new file mode 100644 index 00000000..e2cfa5f9 --- /dev/null +++ b/source/x/marisa/marisa.url @@ -0,0 +1 @@ +https://github.com/s-yata/marisa-trie |