From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/pidgin-lwqq/PKGBUILD | 37 +++++++++++++++++++++++++++++++ community/pidgin-lwqq/pidgin-lwqq.install | 11 +++++++++ 2 files changed, 48 insertions(+) create mode 100644 community/pidgin-lwqq/PKGBUILD create mode 100644 community/pidgin-lwqq/pidgin-lwqq.install (limited to 'community/pidgin-lwqq') 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 + +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 +} -- cgit v1.2.3-54-g00ecf