summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMailRu-im2020-12-08 09:07:47 +0000
committerMailRu-im2020-12-08 09:07:47 +0000
commit46bfdce6f7ebc5d43083fda18fbfacd5bb7e1584 (patch)
treef795b3bd3759a2ef20dc1b93d4e193500571eab4
downloadaur-46bfdce6f7ebc5d43083fda18fbfacd5bb7e1584.tar.gz
Version 10.0.1398
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD36
-rw-r--r--agent.desktop13
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..0869a797f04d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = agent-bin
+ pkgdesc = Official agent desktop client for Arch Linux
+ pkgver = 10.0.1398
+ pkgrel = 1
+ url = https://agent.mail.ru/
+ arch = x86_64
+ license = Apache
+ depends = libxcursor
+ depends = libxinerama
+ depends = libxrandr
+ provides = agent
+ conflicts = icqdesktop-bin
+ conflicts = icqdesktop-git
+ conflicts = icqdesktop
+ source = https://hb.bizmrg.com/agent-www/linux/x64/packages/10.0.1398/agent-10.0.1398_64bit.tar.xz
+ source = agent.png::https://hb.bizmrg.com/agent-www/linux/x64/packages/10.0.1398/agent.png
+ source = agent.desktop
+ sha256sums = fffa4cd1ec547814b619fbb471b69e90e9d7809effad1c541670f5f961202b83
+ sha256sums =
+ sha256sums = 3b8f95e95af2e413948ca816a262ab47bb27b1ab9cf98dcf131e7e7ee6dcc336
+
+pkgname = agent-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..63059528f229
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: MailRu-im
+
+pkgname=agent-bin
+pkgver=10.0.1398
+pkgrel=1
+pkgdesc='Official agent desktop client for Arch Linux'
+arch=('x86_64')
+url=https://agent.mail.ru/
+license=("Apache")
+depends=(
+ libxcursor
+ libxinerama
+ libxrandr
+)
+conflicts=('icqdesktop-bin' 'icqdesktop-git' 'icqdesktop')
+provides=('agent')
+
+
+source=(
+ 'https://hb.bizmrg.com/agent-www/linux/x64/packages/10.0.1398/agent-10.0.1398_64bit.tar.xz'
+ 'agent.png::https://hb.bizmrg.com/agent-www/linux/x64/packages/10.0.1398/agent.png
+ 'agent.desktop'
+)
+
+sha256sums=(
+ 'fffa4cd1ec547814b619fbb471b69e90e9d7809effad1c541670f5f961202b83'
+ ''
+ '3b8f95e95af2e413948ca816a262ab47bb27b1ab9cf98dcf131e7e7ee6dcc336'
+)
+
+
+package () {
+ install -Dm755 agent "$pkgdir/usr/bin/agent"
+ install -Dm644 agent.png "$pkgdir/usr/share/pixmaps/agent.png"
+ install -Dm644 agent.desktop "$pkgdir/usr/share/applications/agent.desktop"
+}
diff --git a/agent.desktop b/agent.desktop
new file mode 100644
index 000000000000..667ebbea728b
--- /dev/null
+++ b/agent.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Mail.ru Agent for Linux
+Icon=/usr/share/pixmaps/agent.png
+TryExec=/usr/bin/agent
+Exec=/usr/bin/agent -urlcommand %u
+Comment=Simple way to communicate and nothing extra. New design, group chats and much more!
+Categories=InstantMessaging;Chat;Network;
+Terminal=false
+StartupWMClass=agent
+MimeType=x-scheme-handler/magent;
+Keywords=agent;