From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/pidgin-lwqq/PKGBUILD | 41 +++++++++++++++++++++++++++++++ community/pidgin-lwqq/pidgin-lwqq.install | 11 +++++++++ 2 files changed, 52 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..9128d4372 --- /dev/null +++ b/community/pidgin-lwqq/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 95053 2013-08-04 16:26:37Z fyan $ +# Maintainer: Felix Yan + +pkgname=pidgin-lwqq +pkgver=0.2a.20130802 +_commit=bccb4d20b65e504f6ae575f7cc55babb9c66ff8d +pkgrel=1 +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' 'hicolor-icon-theme' 'gtk-update-icon-cache' 'libev') +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" + "git://github.com/xiehuc/lwqq.git") + +prepare() { + cd "$srcdir/$pkgname" + git submodule init + git config submodule."liblwqq".url "$srcdir/lwqq" + git submodule update +} + +build() { + cd "${srcdir}/$pkgname" + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="${pkgdir}" install +} + +sha512sums=('SKIP' + 'SKIP') 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