milis/talimatname/genel/slack/talimat

21 lines
787 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Linux için Slack masaüstü uygulaması
# URL: https://slack.com/apps
# Packager: yasarciv67@gmail.com
# Depends on: gconf gtk2 expat hunspell libgcrypt nss xorg-libxtst libnotify xdg-utils xorg-libxscrnsaver alsa-lib libgnome-keyring
name=slack
version=2.7.1
release=1
source=(https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-$version-amd64.deb
$name.desktop)
build() {
bsdtar -xf $name-desktop-$version-amd64.deb
bsdtar -xf data.tar.xz
mkdir -p $PKG/opt/$name $PKG/usr/bin
cp -R usr/lib/$name/* $PKG/opt/$name
install -Dm644 $name.desktop $PKG/usr/share/applications/$name.desktop
install -Dm644 usr/share/pixmaps/$name.png $PKG/usr/share/icons/hicolor/512x512/apps/$name.png
ln -s /opt/$name/$name $PKG/usr/bin/$name
}