summaryrefslogtreecommitdiff
path: root/community/pidgin-lwqq/PKGBUILD
blob: aaad6a8fb2839da1a1cf332826d1eec4ac98e6ef (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
# $Id: PKGBUILD 82530 2013-01-20 07:27:44Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=pidgin-lwqq
pkgver=0.1b
_pkgver=0.1-b
pkgrel=1
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=('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}"
  
  rm -rf build
  mkdir build
  cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBEV=On ..
  make
}

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