diff options
author | Slack Coder <slackcoder@server.ky> | 2024-05-03 13:49:37 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-05-03 14:17:27 -0500 |
commit | 97b33258577934feec22a139b163477cd976f811 (patch) | |
tree | 57d2f0d1748162730402de6853b423dbaf1a1fbf /dendrite | |
parent | 5bf6a79a6fdd9e0611e6cc8e5ee0f274dac018ca (diff) | |
download | slackbuilds-97b33258577934feec22a139b163477cd976f811.tar.xz |
Lint using sbo-maintainer-tools
Diffstat (limited to 'dendrite')
-rw-r--r-- | dendrite/dendrite.SlackBuild | 33 | ||||
-rw-r--r-- | dendrite/dendrite.info | 2 | ||||
-rw-r--r-- | dendrite/slack-desc | 16 |
3 files changed, 29 insertions, 22 deletions
diff --git a/dendrite/dendrite.SlackBuild b/dendrite/dendrite.SlackBuild index b94bc92..366d58e 100644 --- a/dendrite/dendrite.SlackBuild +++ b/dendrite/dendrite.SlackBuild @@ -1,9 +1,12 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dendrite VERSION=${VERSION:-0.13.7} BUILD=${BUILD:-1} TAG=${TAG:-_slackcoder} +PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -13,33 +16,23 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-0.13.7 -tar xvf $CWD/v0.13.7.tar.gz -cd $PRGNAM-0.13.7 +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/v$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 \ @@ -78,4 +71,4 @@ mkdir -p "$PKG/var/log/dendrite" chmod u=rwX,g=rX,o= "$PKG/var/log/dendrite" cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-0.13.7-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/dendrite/dendrite.info b/dendrite/dendrite.info index b00d8cb..9c82446 100644 --- a/dendrite/dendrite.info +++ b/dendrite/dendrite.info @@ -3,6 +3,8 @@ VERSION="0.13.7" HOMEPAGE="https://github.com/matrix-org/dendrite" DOWNLOAD="https://github.com/matrix-org/dendrite/archive/refs/tags/v0.13.7.tar.gz" MD5SUM="48eda1ded8f326dc20682a658f0c23ce" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="google-go-lang postgresql" MAINTAINER="Slack Coder" EMAIL="slackcoder@server.ky" diff --git a/dendrite/slack-desc b/dendrite/slack-desc index c23e028..0550265 100644 --- a/dendrite/slack-desc +++ b/dendrite/slack-desc @@ -1,7 +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------------------------------------------------------| -dendrite: dendrite +dendrite: dendrite (Matrix home server) dendrite: -dendrite: Dendrite is a second-generation Matrix homeserver written in Go. It +dendrite: Dendrite is a second-generation Matrix home server written in Go. It dendrite: intends to provide an efficient, reliable and scalable alternative to dendrite: Synapse. dendrite: +dendrite: +dendrite: +dendrite: +dendrite: +dendrite: |