aboutsummaryrefslogtreecommitdiffstats
path: root/assets/slackbuild/qtmaildir.SlackBuild
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-15 16:44:01 +0200
committerDanilo M. <danix@danix.xyz>2026-08-15 16:44:01 +0200
commitb405e3288bf625bd478204a065572e41a93fb4c3 (patch)
treecf95fe862ddcc0213624602045ed3ebceec31aab /assets/slackbuild/qtmaildir.SlackBuild
parent245eefe9c8788aa777e9909cec9f0f6c3bb30cad (diff)
downloadqtmaildir-b405e3288bf625bd478204a065572e41a93fb4c3.tar.gz
qtmaildir-b405e3288bf625bd478204a065572e41a93fb4c3.zip
chore: move the SlackBuild out to the my-slackbuilds repo
The packaging under assets/slackbuild/ had been stale since 0.7.0 and was deliberately not SBo compliant, carrying a _danix tag and a txz package type because it was never an SBo submission. It is not what the user builds from, so it lived here collecting drift: it predated the translations added in 0.23.0 and would have shipped a package without them. It now lives in the my-slackbuilds repo under qtmaildir/, rewritten from the SBo cmake template rather than carried across, at 0.24.0 and building from the GitHub release tarball rather than a cgit snapshot whose checksum can change when the tarball is regenerated. That repo has the workflow for bumping it and an nvchecker stanza that picks up releases from here. README points at the repo instead of describing a local directory, and keeps the build invocation so the section still tells a Slackware reader what to do. CLAUDE.md's release procedure drops the "do not bump this as a side effect" warning, which has nothing left to warn about. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'assets/slackbuild/qtmaildir.SlackBuild')
-rwxr-xr-xassets/slackbuild/qtmaildir.SlackBuild114
1 files changed, 0 insertions, 114 deletions
diff --git a/assets/slackbuild/qtmaildir.SlackBuild b/assets/slackbuild/qtmaildir.SlackBuild
deleted file mode 100755
index 4b9c2bc..0000000
--- a/assets/slackbuild/qtmaildir.SlackBuild
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/bash
-
-# Slackware build script for qtmaildir
-
-# Copyright 2026 Danilo M. <danix@danix.xyz>
-# All rights reserved.
-#
-# Redistribution and use of this script, with or without modification, is
-# permitted provided that the following conditions are met:
-#
-# 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.
-
-cd $(dirname $0) ; CWD=$(pwd)
-
-PRGNAM=qtmaildir
-VERSION=${VERSION:-0.7.0}
-BUILD=${BUILD:-1}
-# Not _SBo: this is not an SBo submission. sbolint reports the tag and the
-# package type as errors for that reason; both are deliberate.
-TAG=${TAG:-_danix}
-PKGTYPE=${PKGTYPE:-txz}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "aarch64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# QTMAILDIR_BUILD_TESTS=OFF skips the test suite, which needs Qt6::Test and
-# produces nothing that ships.
-mkdir -p build
-cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DQTMAILDIR_BUILD_TESTS=OFF \
- -DCMAKE_BUILD_TYPE=Release ..
- make
- make install/strip DESTDIR=$PKG
-cd ..
-
-# The package installs one binary, one .desktop entry and one scalable icon.
-# No libraries, no man or info pages, so the usual .la removal, man/info
-# compression and perllocal.pod cleanup have nothing to act on here.
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGELOG.md LICENSE README.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE