Date: Thursday, April 17, 2014 @ 13:12:07 Author: fyan Revision: 109649
addpkg: lwqq 0.2.4.20140417-1 Added: lwqq/ lwqq/repos/ lwqq/trunk/ lwqq/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: lwqq/trunk/PKGBUILD =================================================================== --- lwqq/trunk/PKGBUILD (rev 0) +++ lwqq/trunk/PKGBUILD 2014-04-17 11:12:07 UTC (rev 109649) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgname=lwqq +pkgver=0.2.4.20140417 +#_gitver="tag=$pkgver" +_gitver='commit=afe08eef972aaabff5c043a72af0b63e2bb23f2d' +pkgrel=1 +pkgdesc="A library for webqq protocol" +arch=('i686' 'x86_64') +url="https://github.com/xiehuc/lwqq" +license=('GPL3') +depends=('curl' 'libev' 'js17' 'sqlite') +makedepends=('git' 'cmake') +source=("git://github.com/xiehuc/lwqq.git#$_gitver") + +build() { + cd $pkgname + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd $pkgname + make DESTDIR="${pkgdir}" install +} + +sha512sums=('SKIP')