summaryrefslogtreecommitdiff
path: root/community/lwqq
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-18 03:26:15 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-18 03:26:15 +0000
commitf8a4eefb2bb008f302349db07da4a75e746a1aeb (patch)
treea8cac71f562a00732f5ec3a46492fbc457431d96 /community/lwqq
parentd9e3d7066ad07c8dd884792dd90fecb9f5971ab2 (diff)
Fri Apr 18 03:21:55 UTC 2014
Diffstat (limited to 'community/lwqq')
-rw-r--r--community/lwqq/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/lwqq/PKGBUILD b/community/lwqq/PKGBUILD
new file mode 100644
index 000000000..6a36367ae
--- /dev/null
+++ b/community/lwqq/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 109651 2014-04-17 11:14:59Z fyan $
+# Maintainer: Felix Yan <felixonmars@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')