summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2015-07-08 12:25:36 +0200
committerGiovanni Santini2015-07-08 12:26:52 +0200
commitdc0281e8cc28bb6e1f76fc7623d9eb61b32b5fc0 (patch)
tree6f789362878fcce1a1c6e429192f2fdedaf95f8f
parentf68bfbe3378b240aa78fcf74af57a9b7855b6137 (diff)
downloadaur-dc0281e8cc28bb6e1f76fc7623d9eb61b32b5fc0.tar.gz
Renaming the package from telegram-desktop to telegram-destkop-bin
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
-rw-r--r--telegram-desktop-bin.install17
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc71476756e3..311c47cb210b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
-pkgbase = telegram-desktop
+pkgbase = telegram-desktop-bin
pkgdesc = Official desktop version of Telegram messaging app.
pkgver = 0.8.38
pkgrel = 2
url = https://desktop.telegram.org
- install = telegram-desktop.install
+ install = telegram-desktop-bin.install
arch = i686
arch = x86_64
license = GPL3
@@ -31,5 +31,5 @@ pkgbase = telegram-desktop
source_x86_64 = https://updates.tdesktop.com/tlinux/tsetup.0.8.38.tar.xz
sha256sums_x86_64 = 5b7b15ab555275beda47a198c34baee97cfadc3d88feb664a01aa342ad603ba0
-pkgname = telegram-desktop
+pkgname = telegram-desktop-bin
diff --git a/PKGBUILD b/PKGBUILD
index 1cebad397d60..1db8bf0a7910 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
-# Maintainer: agnotek <agnostic.sn [at]gmail.com>
+# Maintainer: Giovanni Santini "ItachiSan" <giovannisantini93@yahoo.it>
+# Previous maintainer: agnotek <agnostic.sn [at]gmail.com>
# Contributor: agnotek <agnostic.sn [at]gmail.com>
-pkgname=telegram-desktop
+pkgname=telegram-desktop-bin
pkgver=0.8.38
pkgrel=2
pkgdesc="Official desktop version of Telegram messaging app."
diff --git a/telegram-desktop-bin.install b/telegram-desktop-bin.install
new file mode 100644
index 000000000000..d49e64e89eb7
--- /dev/null
+++ b/telegram-desktop-bin.install
@@ -0,0 +1,17 @@
+post_install() {
+
+ echo "Start from the console at the first run (using "telegram") to generate the .desktop file."
+ echo "After Update start Telegram with "/opt/telegram/Telegram" to get TelegramDesktop"
+ echo "If you see no destkop launcher after update, you can fix it by using"
+ echo "sed 's/Exec=-- %u/Exec=telegram -- %u/' -i ~/.local/share/applications/telegramdesktop.desktop"
+
+}
+
+post_remove()
+{
+ echo "You can remove old data from a terminl doing:"
+ echo "rm -r ~/.local/share/applications/telegramdesktop.desktop"
+ echo "rm -r ~/.TelegramDesktop"
+}
+
+# vim: ts=2 sw=2 et: