diff options
-rw-r--r-- | network/betterbird-bin/README | 4 | ||||
-rw-r--r-- | network/betterbird-bin/betterbird-bin.SlackBuild | 88 | ||||
-rw-r--r-- | network/betterbird-bin/betterbird-bin.info | 10 | ||||
-rw-r--r-- | network/betterbird-bin/betterbird.desktop | 14 | ||||
-rw-r--r-- | network/betterbird-bin/betterbird.svg | 15 | ||||
-rw-r--r-- | network/betterbird-bin/doinst.sh | 9 | ||||
-rw-r--r-- | network/betterbird-bin/slack-desc | 19 |
7 files changed, 159 insertions, 0 deletions
diff --git a/network/betterbird-bin/README b/network/betterbird-bin/README new file mode 100644 index 0000000000..e83cd6e79c --- /dev/null +++ b/network/betterbird-bin/README @@ -0,0 +1,4 @@ +Betterbird is a fine-tuned version of Mozilla Thunderbird, +Thunderbird on steroids, if you will. + +This is a repackaging of the upstream archive. diff --git a/network/betterbird-bin/betterbird-bin.SlackBuild b/network/betterbird-bin/betterbird-bin.SlackBuild new file mode 100644 index 0000000000..1b793895ea --- /dev/null +++ b/network/betterbird-bin/betterbird-bin.SlackBuild @@ -0,0 +1,88 @@ +#!/bin/bash + +# Slackware build script for betterbird-bin + +# Copyright 2024 rc-05 <contact@rc-05.com> +# 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=betterbird-bin +VERSION=${VERSION:-115.13.0_bb30} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +UPSTREAM_FILENAME=${PRGNAM%%-bin}-${VERSION/_/-}-latest-build9.en-US.linux-x86_64 + +ARCH=$(uname -m) +if [ "$ARCH" != "x86_64" ]; then + echo "Unsupported arch: $ARCH" + exit 1 +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} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf ${PRGNAM%%-bin} +tar xvf $CWD/$UPSTREAM_FILENAME.tar.bz2 +cd ${PRGNAM%%-bin} +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 {} \; + +mkdir -p $PKG/opt/betterbird +cp -R * $PKG/opt/betterbird + +mkdir -p $PKG/usr/bin +ln -sf /opt/betterbird/betterbird $PKG/usr/bin + +mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/ +cp $CWD/betterbird.svg $PKG/usr/share/icons/hicolor/scalable/apps/ + +mkdir -p $PKG/usr/share/applications +cp $CWD/betterbird.desktop $PKG/usr/share/applications + +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 + +mkdir -p $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 diff --git a/network/betterbird-bin/betterbird-bin.info b/network/betterbird-bin/betterbird-bin.info new file mode 100644 index 0000000000..36bfa50f51 --- /dev/null +++ b/network/betterbird-bin/betterbird-bin.info @@ -0,0 +1,10 @@ +PRGNAM="betterbird-bin" +VERSION="115.13.0_bb30" +HOMEPAGE="https://www.betterbird.eu" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://www.betterbird.eu/downloads/LinuxArchive/betterbird-115.13.0-bb30-latest-build9.en-US.linux-x86_64.tar.bz2" +MD5SUM_x86_64="682e22e9436fbd98a5d234139cb4c023" +REQUIRES="" +MAINTAINER="rc_05" +EMAIL="contact@rc-05.com" diff --git a/network/betterbird-bin/betterbird.desktop b/network/betterbird-bin/betterbird.desktop new file mode 100644 index 0000000000..2c7c01cfd2 --- /dev/null +++ b/network/betterbird-bin/betterbird.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Categories=Application;Network; +Terminal=false +Exec=/usr/bin/betterbird +Path=/opt/betterbird +Name=Betterbird +GenericName=Email client +GenericName[it]=Client di posta elettronica +Icon=/usr/share/icons/hicolor/scalable/apps/betterbird.svg +Comment=A fine-tuned version of Mozilla Thunderbird, Thunderbird on steroids, if you will. +Comment[it]=Una versione ricalibrata di Mozilla Thunderbird, in pratica Thunderbird sotto steroidi. diff --git a/network/betterbird-bin/betterbird.svg b/network/betterbird-bin/betterbird.svg new file mode 100644 index 0000000000..073fb69a98 --- /dev/null +++ b/network/betterbird-bin/betterbird.svg @@ -0,0 +1,15 @@ +<!-- Copyright © Betterbird Project 2021 --> +<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1000" fill-rule="evenodd" clip-rule="evenodd" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" version="1.0"> + <defs> + <linearGradient id="a" x1="500" x2="500" y1="0" y2="1000" gradientUnits="userSpaceOnUse"> + <stop offset="0" stop-color="#fff2f2"/> + <stop offset="1" stop-color="#a0a0a0"/> + </linearGradient> + <linearGradient id="b" x1="500" x2="500" y1="0" y2="1000" gradientUnits="userSpaceOnUse"> + <stop offset="0" stop-color="#ff2000"/> + <stop offset="1" stop-color="#ff8000"/> + </linearGradient> + </defs> + <path fill="url(#a)" d="M999.957 500c0 274.23-225.727 500-499.957 500v-.043C225.77 999.957.043 774.23.043 500H0C0 225.77 225.77.043 500 .043V0c274.23 0 500 225.77 500 500zM500 39.102c39.445 0 78.848 5.022 117.006 14.98v.043c96.79 25.367 181.217 81.423 242.166 157.095.687 60.95-7.21 126.19-23.65 195.725 25.41-54.64 43.867-109.28 47.086-163.92 30.045 44.596 52.45 94.686 65.413 148.51-17.64 48.589-42.793 89.665-73.182 125.505 27.127-16.997 54.21-44.639 81.337-82.926a465.012 465.012 0 01-1.673 142.674c-33.136 33.35-66.23 54.725-99.322 72.624 26.912 1.974 55.841-4.25 86.874-18.628-47.3 160.056-181.045 283.758-342.905 319.383-27.17-28.586-38.544-61.335-62.58-103.056-1.33 25.797 12.232 65.972 31.075 108.85-44.768 6.568-90.48 6.568-135.247-.042 18.842-42.88 32.363-83.011 31.032-108.808-24.036 41.72-35.368 74.47-62.537 103.013-161.774-35.496-295.648-159.37-342.948-319.34 31.033 14.379 59.962 20.602 86.874 18.628-33.093-17.899-66.186-39.274-99.322-72.624a465.012 465.012 0 01-1.674-142.673c27.127 38.286 54.254 65.928 81.338 82.925-30.346-35.84-55.541-76.916-73.182-125.504 13.005-53.825 35.41-103.915 65.413-148.51 3.22 54.639 21.676 109.279 47.086 163.919-16.44-69.534-24.337-134.776-23.65-195.725 49.79-61.851 115.288-110.568 190.36-140.141v-.043C384.796 49.876 442.397 39.102 500 39.102c-167.869 0-303.975 136.106-303.975 303.975 0 85.758 35.54 163.233 92.712 218.473-9.4-143.274 62.495-259.335 164.821-281.01-35.54-3.563-64.898 3.175-91.381 19.615 14.508-21.762 38.072-31.849 54.812-39.79-32.75.988-58.975 9.1-91.725 31.978 141.085-173.663 460.297 21.675 344.45 138.853 13.392-47.815-41.162-77.045-99.279-76.96-182.676.172-139.84 227.617 20.689 240.665 138.638 11.245 212.85-130.14 212.85-251.824 0-167.869-136.106-303.975-303.974-303.975zM533.308 273.5c35.84 13.477 68.46 3.734 53.094 24.766-19.315-5.795-36.655-14.594-53.094-24.766z"/> + <path fill="url(#b)" d="m 500,39.102 c 39.445,0 78.848,5.022 117.006,14.98 v 0.043 c 96.79,25.367 181.217,81.423 242.166,157.095 0.687,60.95 -7.21,126.19 -23.65,195.725 25.41,-54.64 43.867,-109.28 47.086,-163.92 30.045,44.596 52.45,94.686 65.413,148.51 -17.64,48.589 -42.793,89.665 -73.182,125.505 27.127,-16.997 54.21,-44.639 81.337,-82.926 6.78543,47.36087 6.22112,95.48526 -1.673,142.674 -33.136,33.35 -66.23,54.725 -99.322,72.624 26.912,1.974 55.841,-4.25 86.874,-18.628 -47.3,160.056 -181.045,283.758 -342.905,319.383 -27.17,-28.586 -38.544,-61.335 -62.58,-103.056 -1.33,25.797 12.232,65.972 31.075,108.85 -44.768,6.568 -90.48,6.568 -135.247,-0.042 18.842,-42.88 32.363,-83.011 31.032,-108.808 -24.036,41.72 -35.368,74.47 -62.537,103.013 -161.774,-35.496 -295.648,-159.37 -342.948,-319.34 31.033,14.379 59.962,20.602 86.874,18.628 C 111.726,631.513 78.633,610.138 45.497,576.788 37.602654,529.59964 37.038009,481.4756 43.823,434.115 70.95,472.401 98.077,500.043 125.161,517.04 94.815,481.2 69.62,440.124 51.979,391.536 c 13.005,-53.825 35.41,-103.915 65.413,-148.51 3.22,54.639 21.676,109.279 47.086,163.919 -16.44,-69.534 -24.337,-134.776 -23.65,-195.725 49.79,-61.851 115.288,-110.568 190.36,-140.141 V 71.036 C 384.796,49.876 442.397,39.102 500,39.102 c -167.869,0 -303.975,136.106 -303.975,303.975 0,85.758 35.54,163.233 92.712,218.473 -9.4,-143.274 62.495,-259.335 164.821,-281.01 -35.54,-3.563 -64.898,3.175 -91.381,19.615 14.508,-21.762 38.072,-31.849 54.812,-39.79 -32.75,0.988 -58.975,9.1 -91.725,31.978 141.085,-173.663 460.297,21.675 344.45,138.853 13.392,-47.815 -41.162,-77.045 -99.279,-76.96 -182.676,0.172 -139.84,227.617 20.689,240.665 138.638,11.245 212.85,-130.14 212.85,-251.824 C 803.974,175.208 667.868,39.102 500,39.102 Z M 533.308,273.5 c 35.84,13.477 68.46,3.734 53.094,24.766 -19.315,-5.795 -36.655,-14.594 -53.094,-24.766 z" /> +</svg> diff --git a/network/betterbird-bin/doinst.sh b/network/betterbird-bin/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/network/betterbird-bin/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/network/betterbird-bin/slack-desc b/network/betterbird-bin/slack-desc new file mode 100644 index 0000000000..8abeefc35b --- /dev/null +++ b/network/betterbird-bin/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +betterbird-bin: betterbird-bin (Soft fork of Thunderbird) +betterbird-bin: +betterbird-bin: Betterbird is a fine-tuned version of Mozilla Thunderbird, +betterbird-bin: Thunderbird on steroids, if you will. +betterbird-bin: +betterbird-bin: This is a repackaging of the upstream archive. +betterbird-bin: +betterbird-bin: +betterbird-bin: +betterbird-bin: +betterbird-bin: |