summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Santini2016-05-15 12:39:37 +0200
committerGiovanni Santini2016-05-15 12:39:37 +0200
commit91e854c76e22a25989b6d1f068e42399a28a23ab (patch)
tree15b3b57ae3beb871ed56f90c64f215e7321e724b
parent07406abc87f233bc2f3c9d50f7a1d93cc98e0218 (diff)
downloadaur-91e854c76e22a25989b6d1f068e42399a28a23ab.tar.gz
upgpkg: telegram-desktop-bin 0.9.48-2
Adding icons and KDE4 protocol file
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD28
-rw-r--r--tg.protocol11
3 files changed, 57 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b5e9768feaa2..c632a1ee05d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
# Generated by mksrcinfo v8
-# Thu May 12 14:26:22 UTC 2016
+# Sun May 15 10:39:37 UTC 2016
pkgbase = telegram-desktop-bin
pkgdesc = Official desktop version of Telegram messaging app - Static binaries
pkgver = 0.9.48
- pkgrel = 1
+ pkgrel = 2
url = https://desktop.telegram.org
install = telegram-desktop-bin.install
arch = i686
arch = x86_64
license = GPL3
depends = glib2
+ depends = hicolor-icon-theme
+ depends = libdbus
depends = libx11
optdepends = libappindicator-gtk2: to hide Telegram in the tray bar (GTK2-based desktop environment)
optdepends = libappindicator-gtk3: to hide Telegram in the tray bar (GTK3-based desktop environment)
@@ -19,8 +21,24 @@ pkgbase = telegram-desktop-bin
replaces = telegram-bin
source = telegram-desktop-bin.desktop
source = telegram-desktop-bin.png
+ source = tg.protocol
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon16.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon32.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon48.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon64.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon128.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon256.png
+ source = https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon512.png
sha256sums = 32d1597d67a7ef519367e499fcc978da4cce104e370b3787853446d93b1533d6
sha256sums = 4226167b476a75e844ddf0d429068e7e901bbde516810a7d4ca90f8405c01eef
+ sha256sums = d4cdad0d091c7e47811d8a26d55bbee492e7845e968c522e86f120815477e9eb
+ sha256sums = cf079b341461e2ed439b7c6ff13d6a31b09e3840df07e9811823fc4b12a23831
+ sha256sums = 0ff2bd9d21a4a265cf414778321623ca92d37d8285e2ce81941bf742a40e1a64
+ sha256sums = 9d6d999cbb9d711f36840256b7704593d77c470f22f367b80bf501a0dc155887
+ sha256sums = e9570cc49fa66ebabe250598671ffab7bcdbd9875b36763481d9f796b360cf92
+ sha256sums = 94e21d6e7c30ae4f09a42937c46836454b955944ca565e0427f6d7494d034f6d
+ sha256sums = 4226167b476a75e844ddf0d429068e7e901bbde516810a7d4ca90f8405c01eef
+ sha256sums = 2339e94c159975c81a14b6df67a5fad1be02cf032ffb953215d895d1343a3ecb
source_i686 = https://updates.tdesktop.com/tlinux32/tsetup32.0.9.48.tar.xz
sha256sums_i686 = 368f743d40db44882eaec7b51ad0e910fb07a09e25eb67d61663f5e74b6afd00
source_x86_64 = https://updates.tdesktop.com/tlinux/tsetup.0.9.48.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
index 07a4fc103b0c..84a47fe6cfa8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,15 @@
pkgname=telegram-desktop-bin
pkgver=0.9.48
-pkgrel=1
+pkgrel=2
pkgdesc="Official desktop version of Telegram messaging app - Static binaries"
arch=('i686' 'x86_64')
url="https://desktop.telegram.org"
license=('GPL3')
depends=(
'glib2'
+ 'hicolor-icon-theme'
+ 'libdbus'
'libx11'
)
optdepends=(
@@ -26,12 +28,22 @@ replaces=('telegram-bin')
source=(
"$pkgname.desktop"
"$pkgname.png"
+ tg.protocol
+ https://github.com/telegramdesktop/tdesktop/raw/master/Telegram/Resources/art/icon{16,32,48,64,128,256,512}.png
)
source_i686=('https://updates.tdesktop.com/tlinux32/tsetup32.'$pkgver'.tar.xz')
source_x86_64=('https://updates.tdesktop.com/tlinux/tsetup.'$pkgver'.tar.xz')
# Checksums
sha256sums=('32d1597d67a7ef519367e499fcc978da4cce104e370b3787853446d93b1533d6'
- '4226167b476a75e844ddf0d429068e7e901bbde516810a7d4ca90f8405c01eef')
+ '4226167b476a75e844ddf0d429068e7e901bbde516810a7d4ca90f8405c01eef'
+ 'd4cdad0d091c7e47811d8a26d55bbee492e7845e968c522e86f120815477e9eb'
+ 'cf079b341461e2ed439b7c6ff13d6a31b09e3840df07e9811823fc4b12a23831'
+ '0ff2bd9d21a4a265cf414778321623ca92d37d8285e2ce81941bf742a40e1a64'
+ '9d6d999cbb9d711f36840256b7704593d77c470f22f367b80bf501a0dc155887'
+ 'e9570cc49fa66ebabe250598671ffab7bcdbd9875b36763481d9f796b360cf92'
+ '94e21d6e7c30ae4f09a42937c46836454b955944ca565e0427f6d7494d034f6d'
+ '4226167b476a75e844ddf0d429068e7e901bbde516810a7d4ca90f8405c01eef'
+ '2339e94c159975c81a14b6df67a5fad1be02cf032ffb953215d895d1343a3ecb')
sha256sums_i686=('368f743d40db44882eaec7b51ad0e910fb07a09e25eb67d61663f5e74b6afd00')
sha256sums_x86_64=('dbb94716a8bda1da45b1f6cada1e8c380f7c96cd512274dac5fd767275236356')
# Some installation information
@@ -52,4 +64,16 @@ package() {
# Desktop launcher
install -Dm755 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/telegram.png"
install -Dm755 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/telegramdesktop.desktop"
+
+ # KDE4 protocol file
+ install -d "$pkgdir/usr/share/kde4/services"
+ install -m644 "$srcdir/tg.protocol" "$pkgdir/usr/share/kde4/services/tg.protocol"
+
+ # Icons
+ local icon_size icon_dir
+ for icon_size in 16 32 48 64 128 256 512; do
+ icon_dir="$pkgdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
+ install -d "$icon_dir"
+ install -m644 "$srcdir/icon${icon_size}.png" "$icon_dir/telegram-desktop.png"
+ done
}
diff --git a/tg.protocol b/tg.protocol
new file mode 100644
index 000000000000..a4b083acb1b0
--- /dev/null
+++ b/tg.protocol
@@ -0,0 +1,11 @@
+[Protocol]
+exec=/usr/bin/telegram-desktop -- %u
+protocol=tg
+input=none
+output=none
+helper=true
+listing=false
+reading=false
+writing=false
+makedir=false
+deleting=false