Skip to content
Closed
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions network/android-messages/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Android-Messages is a Google Messages client.

This script builds a Slackware package using the official binary.
The download is an AppImage which is placed in /opt
however source is also available on github.



22 changes: 22 additions & 0 deletions network/android-messages/android-messages
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
# Slackware wrapper for the Android-Messages AppImage.
runme(){
cd /opt/freetube
./Android-Messages-v6.1.1-linux-x86_64.AppImage "$@"
}

if [ $UID == 0 ]; then
read -p "You are currently running as root...\
Are you sure you want to proceed? (N/y): " resp
case "$resp" in
y|yes)
runme
;;
*)
echo Exiting
exit 0
;;
esac
else
runme $@
fi
72 changes: 72 additions & 0 deletions network/android-messages/android-messages.SlackBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#!/bin/bash

# Slackware build script for the Android-Messages AppImage
# Copyright 2025 hoobop (hoobop@gmail.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=android-messages
VERSION=${VERSION:-6.1.1}
SRC=Android-Messages-v6.1.1-linux-x86_64.AppImage
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
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

install -D -m0755 -oroot -groot $SRC $PKG/opt/$PRGNAM/$SRC

mkdir -p $PKG/usr $PKG/usr/doc $PKG/usr/bin
mkdir -p $PKG/usr/share $PKG/usr/share/pixmaps $PKG/usr/share/applications
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

cat $CWD/$PRGNAM > $PKG/usr/bin/$PRGNAM
chmod 755 $PKG/usr/bin/$PRGNAM

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
8 changes: 8 additions & 0 deletions network/android-messages/android-messages.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Type=Application
Terminal=false
Exec=/opt/Android-Messages-v6.1.1-linux-x86_64.AppImage
Name=android-messages
Icon=android-messages


10 changes: 10 additions & 0 deletions network/android-messages/android-messages.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PRGNAM="android-messages"
VERSION="6.1.1"
HOMEPAGE="https://github.com/OrangeDrangon/android-messages-desktop"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/OrangeDrangon/android-messages-desktop/releases/download/v6.1.1/Android-Messages-v6.1.1-linux-x86_64.AppImage"
MD5SUM_x86_64="2913c0637e349992f169f844aafb950d"
REQUIRES=""
MAINTAINER="hoobop"
EMAIL="hoobop@gmail.com"
Binary file added network/android-messages/android-messages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions network/android-messages/doinst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
19 changes: 19 additions & 0 deletions network/android-messages/slack-desc
Original file line number Diff line number Diff line change
@@ -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------------------------------------------------------|
android-messages: android-messages (A Google Messages client)
android-messages:
android-messages: It is available as an AppImage.
android-messages:
android-messages:
android-messages:
android-messages:
android-messages:
android-messages:
android-messages:
android-messages: