summaryrefslogtreecommitdiff
path: root/community/pidgin-lwqq/PKGBUILD
blob: caac6d1a5bebf9c62c4bb1c61f64ed9cd48896a7 (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
# $Id: PKGBUILD 90931 2013-05-15 14:52:30Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=pidgin-lwqq
pkgver=0.1e
_pkgver=0.1e
pkgrel=2
pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol"
arch=('i686' 'x86_64')
url="https://github.com/xiehuc/pidgin-lwqq"
license=('GPL3')
depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme' 'gtk-update-icon-cache')
optdepends=('pidgin: Multi-protocol instant messaging client'
	    'telepathy-haze: Empathy plugin support')
makedepends=('git' 'cmake')
install=$pkgname.install
source=("https://github.com/xiehuc/$pkgname/archive/${_pkgver}.tar.gz")

build()
{
  cd "${srcdir}/$pkgname-${_pkgver}"

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package()
{
  cd "$srcdir/$pkgname-${_pkgver}"
  make DESTDIR="${pkgdir}" install
}

sha512sums=('56d296e198fc3d41454864cda8fae3ba202b3957e95419de22994a11c1aa5be3acbbb68f2cd4a6c8a3c1e6678884027d3c854f08a8f1efe39f7ff6bccd213c20')