milis/talimatname/genel/s/slack/talimat

22 lines
784 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# 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
2018-07-30 09:12:32 +02:00
# Grup: ağ
2018-06-09 00:06:58 +02:00
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
}