Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network/gmi100: Update script. #9029

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions network/gmi100/gmi100.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gmi100
VERSION=${VERSION:-20241029_a4bea88}
COMMIT="a4bea88b2e5b429767014da7fa81ed5ec5af06b5"
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}

Expand Down Expand Up @@ -77,11 +77,15 @@ find -L . \

sed -i 's/gcc/gcc $CFLAGS/' build

# Use other search provider instead geminispace:
# "The search provider geminispace.info has been shut down on 1st June 2024."
sed -i 's/geminispace.info/kennedy.gemi.dev/' $PRGNAM.c $CWD/$PRGNAM.1

CFLAGS="$SLKCFLAGS" \
./build

install -m 755 -D $PRGNAM $PKG/usr/bin/$PRGNAM
install -m 644 -D $CWD/$PRGNAM.1 $PKG/usr/man/man1/$PRGNAM.1
install -Dm755 $PRGNAM -t $PKG/usr/bin
install -Dm644 $CWD/$PRGNAM.1 -t $PKG/usr/man/man1

strip --strip-unneeded $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man?/*.?
Expand Down