summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJulien Blanchard <julien@typed-hole.org>2022-05-14 04:09:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:28:03 +0700
commit2aed7b14fcca427533ee87a8967c990c2fc81986 (patch)
treeba9371589cbac97c92cde3ca5ace7109565768b5 /network
parentb9dd38209e8accd2b188d2a7ff42561b54090d0b (diff)
downloadslackbuilds-2aed7b14fcca427533ee87a8967c990c2fc81986.tar.gz
network/castor: Added (gemini client)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/castor/README6
-rw-r--r--network/castor/castor.SlackBuild172
-rw-r--r--network/castor/castor.info226
-rw-r--r--network/castor/doinst.sh6
-rw-r--r--network/castor/slack-desc19
5 files changed, 429 insertions, 0 deletions
diff --git a/network/castor/README b/network/castor/README
new file mode 100644
index 0000000000..011e8c84f1
--- /dev/null
+++ b/network/castor/README
@@ -0,0 +1,6 @@
+Castor is a graphical client for the Gemini, Gopher
+and Finger protocols.
+It's written in Rust and uses GTK.
+
+Home page: https://git.sr.ht/~julienxx/castor
+
diff --git a/network/castor/castor.SlackBuild b/network/castor/castor.SlackBuild
new file mode 100644
index 0000000000..8fa3178687
--- /dev/null
+++ b/network/castor/castor.SlackBuild
@@ -0,0 +1,172 @@
+#!/bin/bash
+
+# Slackware build script for castor
+
+# Copyright 2022 Julien Blanchard, Bordeaux France
+# 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=castor
+VERSION=${VERSION:-0.9.0}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i586 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+
+ if [ "$ARCH" = "i586" ]; then
+ if rustc -Vv | grep host | grep i686 > /dev/null ; then
+ ARCH=i686
+ fi
+ fi
+fi
+
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+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"
+ CARGOTARGET="--target i586-unknown-linux-gnu"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ CARGOTARGET="--target i686-unknown-linux-gnu"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ CARGOTARGET="--target x86_64-unknown-linux-gnu"
+else
+ SLKCFLAGS="-O2"
+ CARGOTARGET=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# build offline
+# configuration tells cargo to use the configured directory
+# for dependencies instead of downloading from crates.io
+mkdir .cargo
+cat << EOF >> .cargo/config
+[source.crates-io]
+registry = 'https://github.com/rust-lang/crates.io-index'
+replace-with = 'vendored-sources'
+
+[source.vendored-sources]
+directory = '$(pwd)/vendor'
+EOF
+
+# deps and versions come from Cargo.lock
+mkdir vendor
+(
+ cd vendor
+
+ grep -h -A 3 "\[\[package\]\]" $(find ../ -maxdepth 1 -mindepth 1 -name Cargo.lock | tr '\n' ' ') | \
+ sed 's/[[:space:]]*=[[:space:]]*/=/g;s/^--//;s/^\[\[/--\n[[/' | \
+ awk 'BEGIN { RS = "--\n" ; FS="\n" } { print $2, $3, $4 }' | sed 's/"//g;s/name=//;s/ version=/=/' | \
+ grep crates\.io-index | sed 's/ source=.*$//' | sort -u | while read -r dep ; do
+
+ ver="$(printf "%s\n" "$dep" | cut -d= -f2)"
+ dep="$(printf "%s\n" "$dep" | cut -d= -f1)"
+
+ echo "HERE $ver $dep"
+
+ tar xvf $CWD/$dep-$ver.crate
+
+ touch $dep-$ver/.cargo-ok
+
+ # generate checksum
+ {
+ printf "{\n"
+ printf ' "files": {\n'
+
+ (
+ cd $dep-$ver
+ find . -type f -print0 | xargs -0 sha256sum | sed -n '/\.cargo-checksum\.json/!p' | sed 's/\.\///;s/^\([^ ]*\)[[:space:]][[:space:]]*\(.*\)$/"\2":"\1",/'
+ ) | sed '$ s/,$//'
+
+ printf " },\n"
+ printf ' "package": "'
+
+ sha256sum "$CWD/$dep-$ver.crate" | cut -f1 -d' ' | sed 's/$/"/'
+
+ printf "}\n"
+ } > $dep-$ver/.cargo-checksum.json
+ done
+)
+
+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 {} \;
+
+CARGO_HOME=.cargo \
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+cargo build --release $CARGOTARGET
+
+mkdir -p $PKG/usr/bin/
+
+find target -name $PRGNAM -exec install -m 755 {} $PKG/usr/bin/$PRGNAM \;
+
+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
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/usr/share/applications
+install -m 644 data/Castor.desktop $PKG/usr/share/applications
+
+mkdir -p $PKG/usr/share/icons/hicolor/{scalable,16x16,32x32,64x64,128x128}/apps
+install -m 644 data/org.typed-hole.castor.svg $PKG/usr/share/icons/hicolor/scalable/apps/org.typed-hole.castor.svg
+install -m 644 data/org.typed-hole.castor-16.png $PKG/usr/share/icons/hicolor/16x16/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-32.png $PKG/usr/share/icons/hicolor/32x32/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-64.png $PKG/usr/share/icons/hicolor/64x64/apps/org.typed-hole.castor.png
+install -m 644 data/org.typed-hole.castor-128.png $PKG/usr/share/icons/hicolor/128x128/apps/org.typed-hole.castor.png
+
+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/castor/castor.info b/network/castor/castor.info
new file mode 100644
index 0000000000..d151aa6be3
--- /dev/null
+++ b/network/castor/castor.info
@@ -0,0 +1,226 @@
+PRGNAM="castor"
+VERSION="0.9.0"
+HOMEPAGE="https://git.sr.ht/~julienxx/castor"
+DOWNLOAD="https://git.sr.ht/~julienxx/castor/archive/0.9.0.tar.gz \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/aho-corasick/aho-corasick-0.7.18.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/ansi-parser/ansi-parser-0.6.5.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/atk/atk-0.8.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/atk-sys/atk-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-0.1.8.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/autocfg/autocfg-1.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-1.3.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cairo-rs/cairo-rs-0.8.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cairo-sys-rs/cairo-sys-rs-0.9.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cc/cc-1.0.73.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-0.1.10.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cfg-if/cfg-if-1.0.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/cloudabi/cloudabi-0.0.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation/core-foundation-0.7.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/core-foundation-sys/core-foundation-sys-0.7.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs/dirs-3.0.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/dirs-sys/dirs-sys-0.3.7.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/foreign-types/foreign-types-0.3.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/foreign-types-shared/foreign-types-shared-0.1.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/form_urlencoded/form_urlencoded-1.0.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/fuchsia-cprng/fuchsia-cprng-0.1.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-channel/futures-channel-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-core/futures-core-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-executor/futures-executor-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-io/futures-io-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-macro/futures-macro-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-task/futures-task-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/futures-util/futures-util-0.3.21.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gdk/gdk-0.12.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gdk-pixbuf/gdk-pixbuf-0.8.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gdk-pixbuf-sys/gdk-pixbuf-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gdk-sys/gdk-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/getrandom/getrandom-0.2.6.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gio/gio-0.8.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gio-sys/gio-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/glib/glib-0.9.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/glib-sys/glib-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gobject-sys/gobject-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gtk/gtk-0.8.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/gtk-sys/gtk-sys-0.9.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/idna/idna-0.2.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/lazy_static/lazy_static-1.4.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/libc/libc-0.2.125.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/linkify/linkify-0.7.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/log/log-0.4.17.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/matches/matches-0.1.9.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/memchr/memchr-2.5.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/native-tls/native-tls-0.2.4.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/nom/nom-4.2.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/once_cell/once_cell-1.10.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/open/open-2.0.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl/openssl-0.10.40.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-macros/openssl-macros-0.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-probe/openssl-probe-0.1.5.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/openssl-sys/openssl-sys-0.9.73.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pango/pango-0.8.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pango-sys/pango-sys-0.9.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pathdiff/pathdiff-0.2.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/percent-encoding/percent-encoding-2.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-project-lite/pin-project-lite-0.2.9.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pin-utils/pin-utils-0.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/pkg-config/pkg-config-0.3.25.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/proc-macro2/proc-macro2-1.0.38.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/quote/quote-1.0.18.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand/rand-0.6.5.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_chacha/rand_chacha-0.1.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.3.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_core/rand_core-0.4.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_hc/rand_hc-0.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_isaac/rand_isaac-0.1.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_jitter/rand_jitter-0.1.4.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_os/rand_os-0.1.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_pcg/rand_pcg-0.1.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rand_xorshift/rand_xorshift-0.1.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/rdrand/rdrand-0.4.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.1.57.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_syscall/redox_syscall-0.2.13.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/redox_users/redox_users-0.4.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/regex/regex-1.5.5.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/regex-syntax/regex-syntax-0.6.25.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/remove_dir_all/remove_dir_all-0.5.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/schannel/schannel-0.1.19.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework/security-framework-0.4.4.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/security-framework-sys/security-framework-sys-0.4.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/serde/serde-1.0.137.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/serde_derive/serde_derive-1.0.137.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/slab/slab-0.4.6.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/smawk/smawk-0.3.1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/syn/syn-1.0.94.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/tempfile/tempfile-3.0.8.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/textwrap/textwrap-0.14.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror/thiserror-1.0.31.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/thiserror-impl/thiserror-impl-1.0.31.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/tinyvec/tinyvec-1.6.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/tinyvec_macros/tinyvec_macros-0.1.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/toml/toml-0.5.9.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-bidi/unicode-bidi-0.3.8.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-linebreak/unicode-linebreak-0.1.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-normalization/unicode-normalization-0.1.19.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-width/unicode-width-0.1.9.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/unicode-xid/unicode-xid-0.2.3.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/url/url-2.2.2.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/vcpkg/vcpkg-0.2.15.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/version_check/version_check-0.1.5.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/wasi/wasi-0.10.2+wasi-snapshot-preview1.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi/winapi-0.3.9.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-i686-pc-windows-gnu/winapi-i686-pc-windows-gnu-0.4.0.crate \
+ https://crates-io.s3-us-west-1.amazonaws.com/crates/winapi-x86_64-pc-windows-gnu/winapi-x86_64-pc-windows-gnu-0.4.0.crate"
+MD5SUM="296a3a901fea3d632661878a395758fa \
+ 425b8fdf70df59998d9b7c89083e48d1 \
+ cbd60ca8e9c691e1d230c34b439aaf21 \
+ c37404d7263430048672b0965d92ca78 \
+ 2cbf2ad274fffd9aa12091af85224804 \
+ 9563ddbf0d01fb162d94707f57ad9f40 \
+ 05d77ef52e90ad161fdd41b252420467 \
+ a295edb6953237ebbdfa8e731229f9a3 \
+ 2ddf45ac1a99520e32146df4429b1cdc \
+ b0060b4604f0eb3fb647ccd26a42af19 \
+ 8e3a4d0980acef2c4e74485a45de29a9 \
+ 882dbbc613a93f64c3709b0a2bd0d6dc \
+ 74634128440dbc3766bda76fdf0aaa05 \
+ 1c8b50f8528dd37df7d984e0e4b61bd5 \
+ f0682cfdc40af509c98f46f6350c1ba5 \
+ 9754db1eb3e8b15807f05a3540d2ab39 \
+ 92499f5db37eadb0efa33bcc91248577 \
+ 4c21da37e71a52f26c8c5490f3ec4837 \
+ 78c898fdaa3968e23904bf8538c4a271 \
+ 667e86b8b8d96ab4e9605627ce7dcc9a \
+ 7ee8703970c3fa6a2e37893de742824b \
+ 27260b46db6b9ac40318143d70a80ba3 \
+ 5d404b52af03b999e7fb74fbe16d3bd0 \
+ 8aa040d9c661f68ebb67d5b71813473b \
+ 1e0ad6e5cdab371cabd218748fee9b6d \
+ 74d9ab54981e8f02e7eb683ac0a8a6b9 \
+ 750ca4b374c5cd501a612a841f7362a9 \
+ 1ab2952ce15d2f9cfe279821274133eb \
+ 8071e8e030bee77619611dbb4e508864 \
+ 13e7b2af8086b80fec3451946b05fa97 \
+ 72de423e49713bb29beb1b3831373306 \
+ a5e79b9e58c9fe5894602d4b05a0190e \
+ 27c1c7c71baf887421265d5ece46e667 \
+ 8a9e0a43625da8d29c57e742c4d3d385 \
+ ac87fc897aa5f2607b286424545b7f9f \
+ e27ee7d8c7fb289e4924ef6baf448e15 \
+ 577e4187cd09eb6103661795d25457b7 \
+ 1a5b772bdd792720d2fb65e87b3642f8 \
+ c4a9aaa7d6a67626abd95325076d77fe \
+ 793dbb9602541b1054a2dede3025721c \
+ f06b6f8ad76d8b1c08c5ec9017c1dcb9 \
+ f50aaf5171cbc0327f8d18a4ec7405fb \
+ fba3b040a55c01be7376d3dd5c4d4920 \
+ e83dc3dbd3de1f5f2b4b248c521eeaec \
+ 0b69b5f7fcd75744a27cd75847331621 \
+ b31bf94ffe7e0f2ada93afae1076eaeb \
+ 5ac809692422b722eaded90be3c4d9c2 \
+ 94b8bf179385ff071bdc33b58bf047c0 \
+ 98731fbefe42841dce239a8e8064431d \
+ 92bcd45a654d9e24c86f3465c6387c47 \
+ 0a56079b59a262a80e33d13e6604cc4e \
+ c85df6858289ab6e5ea97228856e5ef6 \
+ 1babe6b3077bea6540b8fb5ecaadc255 \
+ 73212ff5e0f8cd8844081a2461393707 \
+ 907244c0d3791f3f981c7cc8e4cad0a3 \
+ e6562b473a131e7df2e99252a63124f8 \
+ 0f5be361f707ebc33bade847d62747c1 \
+ 38bbbe08dc002d60fe11a5751b44c5ae \
+ c40bb551772810d818857841ea389f1e \
+ f490982aceabdbd515348f63e638a782 \
+ ce6dde2ea2691fdd97632fb8c9b3e042 \
+ 07c75fec267864bcbb800ca7709ceae2 \
+ b478ee84018082806ea8da763f0b3f1f \
+ 7a14e0068ec85774790aa54f05d2d198 \
+ 0fa01f3988219987a04c09dae3933d94 \
+ 793627c8c18012ad77cb3e81fa4c2195 \
+ 3ab5a79607a4d260bf61cd99dc82ab05 \
+ 8cab41822d03dfa674870315308fa392 \
+ 35ddcd36701a1a6711cc3aec85909f41 \
+ 28b1e6d15e1ba8cf3a2e953ce7fcd3de \
+ 74b15f1928431937f14ed91fdc12b542 \
+ 2255d3d9a603e177985602a7df1c5bbc \
+ 5acfdc8656212bce8df1bcc43db34c3d \
+ f9e08a49715c401602243230b28d86f0 \
+ 7826deb76941fc36c2391951bd65ba47 \
+ c8d655d206cbe48b84a22544d6fc6d15 \
+ 3cc3a4bd5861ca93d7c0d19129334703 \
+ 2e69b77050ab91b1d0bb941e843a05cb \
+ 2793ed3e6807d79ff72271baec586531 \
+ 6b5c7401117316735435311bf551515b \
+ 82401c70623ccc1bfc0bcb5c3b0ac8b7 \
+ 0538d1da369f3e3f0412aa4d735c1b61 \
+ f505a218806e44b2369671089d65e839 \
+ 9e0c7fedb6287e5090bab920da5c1d09 \
+ 1024ac462fe90a1d7882a6911bd70604 \
+ 31553e8c2d0d2f2e7474cc48a03337d8 \
+ 3d3fef13feb53a62c0f434a092f526bf \
+ be6b7845e52831416901caba0b97a360 \
+ 5d5cf081e3f2aad8d9e52deef9e92c18 \
+ 404d707155e84dbffd2bcb02875ebf68 \
+ 85703ae5de861e4eb47f74fafca6a7be \
+ 0b8a5d001f8f677ca2cdab6f63be391d \
+ a8ae09f39c6e68744ca70bf8db61df71 \
+ ac76b35d8c76c7fa25c73b8863d5d055 \
+ 5f0470696baaa4e5953bddbf196998f9 \
+ 7bfcad253aff26bc26c5e3521f3ba891 \
+ b02f8aae39609bfe759838fbe0616c1a \
+ bd0cd532c61dac2087ecd7e0fef0d011 \
+ e6c3402a883b9a35135ca6af2cc46922 \
+ 10291d9a0022076bc0827250816d3476 \
+ a42cc2834b2150027d7b427558a87803 \
+ 763a3a6901bbb11a6998d29867d39b3c \
+ eb721c4d9e5dba8f93e9de0a80036ec3 \
+ e900a384ac7dbb320fe6a7279fbfef89 \
+ f48add3d6234e8b9829fa5364509f425 \
+ a061ad1db3e0d839725b037ff8be84e7 \
+ 0498c4a11448bfc35dc7bb2caa64c753 \
+ db96b50050277bf05a3c68534bbb9586 \
+ 09de9d01e7331ff3da11f58be8bef0df"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Julien Blanchard"
+EMAIL="julien@typed-hole.org"
diff --git a/network/castor/doinst.sh b/network/castor/doinst.sh
new file mode 100644
index 0000000000..7bb20ae58a
--- /dev/null
+++ b/network/castor/doinst.sh
@@ -0,0 +1,6 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -q usr/share/icons >/dev/null 2>&1
+fi
diff --git a/network/castor/slack-desc b/network/castor/slack-desc
new file mode 100644
index 0000000000..660ec98b6b
--- /dev/null
+++ b/network/castor/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------------------------------------------------------|
+castor: castor (gemini client)
+castor:
+castor: Castor is a graphical client for the Gemini, Gopher
+castor: and Finger protocols.
+castor: It's written in Rust and uses GTK.
+castor:
+castor: Home page: https://git.sr.ht/~julienxx/castor
+castor:
+castor:
+castor:
+castor: