summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 476cc09cbecd3a5b0e1bc7b4ea645258d4615e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: leoneii comdir@infonix.info

pkgname=agent-mailru
pkgver=23.2.0.2605
pkgrel=1
pkgdesc='Official agent Mail.Ru desktop client for Arch Linux'
arch=('x86_64')
url=https://agent.mail.ru/
license=("Custom")
depends=(
        libxcursor
        libxrandr
)
conflicts=('icqdesktop-bin' 'icqdesktop-git' 'icqdesktop' 'agent-bin' 'agent')
provides=('agent')


source=(
        'https://hb.bizmrg.com/agent-www/linux/x64/agent.tar.xz'
        'agent.png'
        'agent.desktop'
        "agentlink.install"
)

sha256sums=('8819651ba06ce14d2144d49f70e8e4823247418bb47940f8064550457245982d'
            'd13bd1c339b739fdbf678bed7cbdba09c5046cf598c3bf147cc16469534c8468'
            '051854c2c9bb6b50ec3ed1fe849cd454456879f1fa071df8403aedcfc5943e2d'
            '70e47339abb18cd2190ec31f51d5a1ede46d03c37612260324c092e42ccc9421')

install='agentlink.install'

build (){

mkdir ${srcdir}/Agent
bsdtar -xf  "agent.tar.xz" --directory ${srcdir}/Agent

}

package () {
        install -dm755  "$pkgdir/opt/agent"
        cp -r "${srcdir}/Agent/." "${pkgdir}/opt/agent"
        #install -Dm755 agent "$pkgdir/opt/agent"
       # ln -s "/opt/agent/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"
}