summaryrefslogtreecommitdiff
path: root/community/pidgin-lwqq
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/pidgin-lwqq
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/pidgin-lwqq')
-rw-r--r--community/pidgin-lwqq/PKGBUILD37
-rw-r--r--community/pidgin-lwqq/pidgin-lwqq.install11
2 files changed, 48 insertions, 0 deletions
diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD
new file mode 100644
index 000000000..0d91d0941
--- /dev/null
+++ b/community/pidgin-lwqq/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 94249 2013-07-18 00:07:47Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=pidgin-lwqq
+pkgver=0.1f
+_commit=66b7498a7530a1c47dabbe05c0726a9188353217
+pkgrel=2
+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=('pidgin: Multi-protocol instant messaging client'
+ 'telepathy-haze: Empathy plugin support')
+makedepends=('git' 'cmake')
+install=$pkgname.install
+#source=("git://github.com/xiehuc/pidgin-lwqq.git#commit=$_commit")
+source=("git://github.com/xiehuc/pidgin-lwqq.git#tag=$pkgver"
+ https://github.com/lawm/pidgin-lwqq/commit/4c98edd0ad4ffa3d3472e5452f77b2be9ab56284.patch)
+
+build()
+{
+ cd "${srcdir}/$pkgname"
+
+ patch -p1 -i ../4c98edd0ad4ffa3d3472e5452f77b2be9ab56284.patch
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ make
+}
+
+package()
+{
+ cd "$srcdir/$pkgname"
+ make DESTDIR="${pkgdir}" install
+}
+sha512sums=('SKIP'
+ '22c98c5f88612331d8a6f33d8cb3985325b9e137936e1f962058efc2c8caf218f74f29ce675569cb8887f85ae976310c86c6e9687114fbda524825a53c550c4d')
diff --git a/community/pidgin-lwqq/pidgin-lwqq.install b/community/pidgin-lwqq/pidgin-lwqq.install
new file mode 100644
index 000000000..6b1b64bdd
--- /dev/null
+++ b/community/pidgin-lwqq/pidgin-lwqq.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}