summaryrefslogtreecommitdiff
path: root/community/pidgin-lwqq
diff options
context:
space:
mode:
Diffstat (limited to 'community/pidgin-lwqq')
-rw-r--r--community/pidgin-lwqq/PKGBUILD31
1 files changed, 17 insertions, 14 deletions
diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD
index 0d91d0941..1bd0ccd5a 100644
--- a/community/pidgin-lwqq/PKGBUILD
+++ b/community/pidgin-lwqq/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 94249 2013-07-18 00:07:47Z fyan $
+# $Id: PKGBUILD 94425 2013-07-24 14:45:02Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=pidgin-lwqq
-pkgver=0.1f
-_commit=66b7498a7530a1c47dabbe05c0726a9188353217
-pkgrel=2
+pkgver=0.1f.20130724
+_commit=ba985662bffa0fe5ec36f276f13fc3d870b11ecf
+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"
@@ -14,24 +14,27 @@ 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)
+source=("git://github.com/xiehuc/pidgin-lwqq.git#commit=$_commit"
+ "git://github.com/xiehuc/lwqq.git")
-build()
-{
- cd "${srcdir}/$pkgname"
+prepare() {
+ cd "$srcdir/$pkgname"
+ git submodule init
+ git config submodule."liblwqq".url "$srcdir/lwqq"
+ git submodule update
+}
- patch -p1 -i ../4c98edd0ad4ffa3d3472e5452f77b2be9ab56284.patch
+build() {
+ cd "${srcdir}/$pkgname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
-package()
-{
+package() {
cd "$srcdir/$pkgname"
make DESTDIR="${pkgdir}" install
}
+
sha512sums=('SKIP'
- '22c98c5f88612331d8a6f33d8cb3985325b9e137936e1f962058efc2c8caf218f74f29ce675569cb8887f85ae976310c86c6e9687114fbda524825a53c550c4d')
+ 'SKIP')