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 /mautrix-whatsapp | |
parent | 5bf6a79a6fdd9e0611e6cc8e5ee0f274dac018ca (diff) | |
download | slackbuilds-97b33258577934feec22a139b163477cd976f811.tar.xz |
Lint using sbo-maintainer-tools
Diffstat (limited to 'mautrix-whatsapp')
-rw-r--r-- | mautrix-whatsapp/mautrix-whatsapp.SlackBuild | 27 | ||||
-rw-r--r-- | mautrix-whatsapp/mautrix-whatsapp.info | 2 | ||||
-rw-r--r-- | mautrix-whatsapp/slack-desc | 15 |
3 files changed, 26 insertions, 18 deletions
diff --git a/mautrix-whatsapp/mautrix-whatsapp.SlackBuild b/mautrix-whatsapp/mautrix-whatsapp.SlackBuild index 49709b0..c6d994f 100644 --- a/mautrix-whatsapp/mautrix-whatsapp.SlackBuild +++ b/mautrix-whatsapp/mautrix-whatsapp.SlackBuild @@ -1,9 +1,12 @@ -#!/bin/sh +#!/bin/bash + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mautrix-whatsapp VERSION=${VERSION:-0.10.5} BUILD=${BUILD:-1} TAG=${TAG:-_slackcoder} +PKGTYPE=${PKGTYPE:-txz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -13,25 +16,15 @@ 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 @@ -85,4 +78,4 @@ mkdir -p "$PKG/var/log/$PRGNAM" chmod u=rwX,g=rX,o= "$PKG/var/log/$PRGNAM" cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/mautrix-whatsapp/mautrix-whatsapp.info b/mautrix-whatsapp/mautrix-whatsapp.info index a1e051e..2bc7360 100644 --- a/mautrix-whatsapp/mautrix-whatsapp.info +++ b/mautrix-whatsapp/mautrix-whatsapp.info @@ -3,6 +3,8 @@ VERSION="0.10.5" HOMEPAGE="https://github.com/mautrix/whatsapp" DOWNLOAD="https://github.com/mautrix/whatsapp/archive/refs/tags/v0.10.5.tar.gz" MD5SUM="b49f34cafecc56653ff402b7bafd8816" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="olm postgresql" MAINTAINER="Slack Coder" EMAIL="slackcoder@server.ky" diff --git a/mautrix-whatsapp/slack-desc b/mautrix-whatsapp/slack-desc index 0c7b7f5..5574046 100644 --- a/mautrix-whatsapp/slack-desc +++ b/mautrix-whatsapp/slack-desc @@ -1,6 +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------------------------------------------------------| -mautrix-whatsapp: mautrix-whatsapp +mautrix-whatsapp: mautrix-whatsapp (Matrix-WhatsApp puppeting bridge) mautrix-whatsapp: mautrix-whatsapp: A Matrix-WhatsApp puppeting bridge based on whatsmeow. mautrix-whatsapp: mautrix-whatsapp: +mautrix-whatsapp: +mautrix-whatsapp: +mautrix-whatsapp: +mautrix-whatsapp: +mautrix-whatsapp: +mautrix-whatsapp: |