summaryrefslogtreecommitdiff
path: root/community/pidgin-lwqq/PKGBUILD
blob: ea16500dfc9a487f56d6b76491580d0e1d4b6c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 109718 2014-04-18 09:35:36Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=pidgin-lwqq
pkgver=0.2d.20140417
#_gitver="tag=$pkgver"
_gitver='commit=9537d7053a91d2813e15f834075688097818c7c8'
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=('lwqq' 'libpurple' '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#$_gitver")

build() {
  cd $pkgname
  
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd $pkgname
  make DESTDIR="${pkgdir}" install
}

sha512sums=('SKIP')