# $Id: PKGBUILD 90442 2013-05-12 11:52:36Z fyan $ # Maintainer: Felix Yan pkgname=pidgin-lwqq pkgver=0.1e _pkgver=0.1e 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}" cmake -DCMAKE_INSTALL_PREFIX=/usr . make } package() { cd "$srcdir/$pkgname-${_pkgver}" make DESTDIR="${pkgdir}" install } sha512sums=('0e5c49dd5b0c9ba9f9eef90cb075c66839a6691aae93789da409a758a36916aef8fceea0d272ee9b67a5e6279bafea2907d2acba10c9d3858a94f4509f4b1f4b')