2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Linux için Slack masaüstü uygulaması
|
2017-04-16 22:11:08 +02:00
|
|
|
|
# URL: https://slack.com/apps
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: yasarciv67@gmail.com
|
|
|
|
|
# Gerekler: gconf gtk2 expat hunspell libgcrypt nss xorg-libxtst libnotify xdg-utils xorg-libxscrnsaver alsa-lib libgnome-keyring
|
2017-04-16 22:11:08 +02:00
|
|
|
|
|
|
|
|
|
name=slack
|
2017-09-01 09:15:34 +02:00
|
|
|
|
version=2.7.1
|
2017-04-16 22:11:08 +02:00
|
|
|
|
release=1
|
|
|
|
|
source=(https://slack-ssb-updates.global.ssl.fastly.net/linux_releases/slack-desktop-$version-amd64.deb
|
|
|
|
|
$name.desktop)
|
|
|
|
|
|
|
|
|
|
build() {
|
2017-06-26 13:00:47 +02:00
|
|
|
|
bsdtar -xf $name-desktop-$version-amd64.deb
|
2017-04-16 22:11:08 +02:00
|
|
|
|
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
|
|
|
|
|
}
|