summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1927ef70cef9a028c88a84746bbcdbca78c832a8 (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
# Maintainer: Mauro Santos <registo.mailling@gmail.com>
# Contributer: Ng Oon-Ee <ngoonee.talk@gmail.com>

pkgname=pidgin-gtalksharedstatus
_realname=gtalk-shared-status
pkgver=0.2.5
pkgrel=2
pkgdesc="Adds Google Shared Status compatibility that permits to set the status for all the resources connected. This allows to go Invisible on GTalk."
url="http://www.siorarina.net/gtalk-shared-status/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libpurple')
makedepends=('pkg-config')
source=(http://www.siorarina.net/gss/src/${_realname}-${pkgver}.src.tar.gz)
sha256sums=('a82939ebd2321643eb37f33cb49dc56dd8e919bbaf7731dd72ba32646ff7c6b8')

prepare() {
  cd ${srcdir}/${_realname}-${pkgver}
  sed -i -e "s|~/.purple/plugins|${pkgdir}/usr/lib/pidgin|" Makefile
  sed -i -e "s|^CFLAGS :=|CFLAGS := -O2|" Makefile
}

build() {
  cd ${srcdir}/${_realname}-${pkgver}
  make
}

package() {
  cd ${srcdir}/${_realname}-${pkgver}
  make install
}