summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0656954dead588213866a18d39bfcecf8fdbce8 (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
# Maintainer: weearc <qby19981121@gmail.com>

pkgname=purple-oicq
pkgver=1.0.2
pkgrel=5
pkgdesc='A libpurple plugin'
url='https://github.com/axon-oicq/purple-oicq'
license=(Unlicense)
arch=(any)
depends=('libpurple'
         'json-glib')
makedepends=('make' 'gcc' 'libtool' 'pkg-config')
optdepends=('pidgin: GUI frontend for libpurple and purple-oicq'
            'finch: TUI frontend for libpurple and purple-oicq'
            'libaxon-bin: Nodejs backend for purple-oicq, with service support'
	    'libaxon: Nodejs backend for purple-oicq')
source=("https://github.com/axon-oicq/purple-oicq/archive/v1.0.2.tar.gz")
sha256sums=('acb397df6e2e5efaa1c625beb33422853d91566deb71285e8defef98cc7c710a')
conflicts=('purple-oicq-git')

build() {
  cd ${srcdir}
  cd $pkgname-$pkgver
  make
}

package() {
  install -d ${pkgdir}/usr/lib/purple-2
  install -Dm644 ${srcdir}/$pkgname-$pkgver/libpurple-oicq.so ${pkgdir}/usr/lib/purple-2/libpurple-oicq.so
}