mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
network/armcord: Updated for version 3.1.4.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
344d42df9f
commit
e27c788859
6 changed files with 31 additions and 11 deletions
|
@ -3,3 +3,9 @@ armcord (Discord custom client)
|
|||
|
||||
armcord is a custom client designed to enhance your Discord
|
||||
experience while keeping everything lightweight.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=armcord
|
||||
SRCNAM=ArmCord
|
||||
VERSION=${VERSION:-3.1.0}
|
||||
VERSION=${VERSION:-3.1.4}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -39,6 +39,9 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
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
|
||||
|
@ -53,8 +56,9 @@ set -eu
|
|||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $PKG
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
|
||||
cd $PKG/$SRCNAM-$VERSION
|
||||
ar x $CWD/${SRCNAM}_${VERSION}_amd64.deb data.tar.xz
|
||||
tar xvf $PKG/data.tar.xz
|
||||
rm $PKG/data.tar.xz
|
||||
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -66,11 +70,10 @@ find -L . \
|
|||
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
|
||||
mkdir -p $PKG/opt/$PRGNAM-$VERSION
|
||||
mv * $PKG/opt/$PRGNAM-$VERSION
|
||||
rm -R $PKG/$SRCNAM-$VERSION
|
||||
mkdir -p $PKG/usr/bin
|
||||
( cd $PKG/usr/bin ; ln -sf /opt/$SRCNAM/$PRGNAM $PRGNAM )
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
# Don't need these:
|
||||
|
|
8
network/armcord/armcord.desktop
Normal file
8
network/armcord/armcord.desktop
Normal file
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Version=1.0
|
||||
Type=ArmCord
|
||||
Terminal=false
|
||||
Exec=/usr/local/bin/armcord
|
||||
Name=armcord
|
||||
Icon=/usr/share/icons/armcord_icon.png
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="armcord"
|
||||
VERSION="3.1.0"
|
||||
VERSION="3.1.4"
|
||||
HOMEPAGE="https://github.com/ArmCord/ArmCord"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://github.com/ArmCord/ArmCord/archive/v3.1.0/ArmCord-3.1.0.tar.gz"
|
||||
MD5SUM_x86_64="08e45c495d09e54e3cc36c318f16d660"
|
||||
DOWNLOAD_x86_64="https://github.com/ArmCord/ArmCord/releases/download/v3.1.4/ArmCord_3.1.4_amd64.deb"
|
||||
MD5SUM_x86_64="202e8855b5b76933cf855583ace4a529"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Matthew Miller"
|
||||
EMAIL="mattallmill@gmail.com"
|
||||
|
|
BIN
network/armcord/armcord_icon.png
Normal file
BIN
network/armcord/armcord_icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
|
@ -2,4 +2,7 @@ if [ -x /usr/bin/update-desktop-database ]; then
|
|||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
ln -s /opt/armcord-3.0.8/armcord /usr/local/bin/
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue