summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71c32beb2bae65890493e61ea9688ea512cf9baf (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
# Maintainer: weearc <qby19981121@gmail.com>
# Co-Maintainer: axon-oicq <axon-oicq@riseup.net>

pkgname=libaxon-bin
_pkgname=libaxon
pkgver=1.0.2
pkgrel=6
pkgdesc='Nodejs backend for purple-oicq'
url='https://github.com/axon-oicq/axon'
license=(Unlicense)
depends=('glibc')
options=('!strip')
install=${_pkgname}.install
arch=(x86_64)
provides=('axon' 'libaxon')
optdepends=('pidgin: For GUI usage of oicq'
            'finch: For cli usage of oicq'
            'purple-oicq: libpurple protocol support for oicq'
            'purple-oicq-git: libpurple protocol support for oicq, git version'
            'systemd: systemd daemon service support')
source=("oicq-axon-linux-x64.gz::https://codeberg.org/attachments/08fc278d-816f-476f-94d1-a46706fd48bc"
        "libaxon.install"
        "libaxon@.service"
        "libaxon_user.service")
sha256sums=("2cc0833f8a9fb2a226df35260346265d489886a22e00f8b240188dedf06f98e5"
	    "6251c002f240591219638b1ef487f532a2874cef836f0ec91c62643416de7bca"
	    "060ad920889af99dcbece1351a4373215780c5457df7da8637d4f84594db5a02"
	    "42f97054314ceb0356d007217d5c3781afbd8dc4d1aceaa1877aeb2764ee88fe")

package() {
  install -Dm755 oicq-axon-linux-x64 ${pkgdir}/usr/bin/${_pkgname}
  install -Dm644 "libaxon@.service" "${pkgdir}/usr/lib/systemd/system/libaxon@.service"
   install -Dm644 "libaxon_user.service" "${pkgdir}/usr/lib/systemd/user/libaxon.service"
}