# $Id: PKGBUILD 85068 2013-02-27 02:51:41Z fyan $ # Maintainer: Felix Yan pkgname=pidgin-lwqq pkgver=0.1c _pkgver=0.1-c pkgrel=1 pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol" arch=('i686' 'x86_64' 'mips64el') 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}" 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=('7ea1ed24870213c07c536d49fd59e292')