milis/talimatname/genel/s/slack/talimat

22 lines
784 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.

# Tanım: Linux için Slack masaüstü uygulaması
# URL: https://slack.com/apps
# Paketçi: yasarciv67@gmail.com
# Gerekler: gconf gtk2 expat hunspell libgcrypt nss xorg-libxtst libnotify xdg-utils xorg-libxscrnsaver alsa-lib libgnome-keyring
# Grup: ağ
isim=slack
surum=2.7.1
devir=1
kaynak=(https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-$surum-amd64.deb
$isim.desktop)
derle() {
bsdtar -xf $isim-desktop-$surum-amd64.deb
bsdtar -xf data.tar.xz
mkdir -p $PKG/opt/$isim $PKG/usr/bin
cp -R usr/lib/$isim/* $PKG/opt/$isim
install -Dm644 $isim.desktop $PKG/usr/share/applications/$isim.desktop
install -Dm644 usr/share/pixmaps/$isim.png $PKG/usr/share/icons/hicolor/512x512/apps/$isim.png
ln -s /opt/$isim/$isim $PKG/usr/bin/$isim
}