talimat 784 B

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