From 24099bcc858c3e45caad112abb141c37a5bd24e8 Mon Sep 17 00:00:00 2001 From: milisarge Date: Sun, 16 Apr 2017 23:11:08 +0300 Subject: [PATCH] slack.paketlendi --- talimatname/genel/slack/slack.desktop | 12 ++++++++++++ talimatname/genel/slack/talimat | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 talimatname/genel/slack/slack.desktop create mode 100644 talimatname/genel/slack/talimat diff --git a/talimatname/genel/slack/slack.desktop b/talimatname/genel/slack/slack.desktop new file mode 100644 index 000000000..90fcfb09a --- /dev/null +++ b/talimatname/genel/slack/slack.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Slack +Comment=Slack Desktop +Comment[tr]=Slack Masaüstü +GenericName=Slack Client for Linux +GenericName[tr]=Linux için Slack istemcisi +Exec=slack --disable-gpu %U +Icon=slack +Type=Application +StartupNotify=true +Categories=Network;InstantMessaging; +MimeType=x-scheme-handler/slack; diff --git a/talimatname/genel/slack/talimat b/talimatname/genel/slack/talimat new file mode 100644 index 000000000..89c5839d5 --- /dev/null +++ b/talimatname/genel/slack/talimat @@ -0,0 +1,20 @@ +# 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.5.2 +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-2.5.2-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 +}