summaryrefslogtreecommitdiff
path: root/community/pidgin-fonomobutton/PKGBUILD
blob: 350bfcb5daca05e4e20a07fe4ac4b25a5d434241 (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
# $Id: PKGBUILD 5894 2009-11-22 13:10:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=pidgin-fonomobutton
pkgver=0.1.6
pkgrel=1
pkgdesc="Adds a video-chat button to the the conversation window"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.fonomo.com/software/pidgin.html"
license=('GPL')
depends=('pidgin')
install=pidgin-fonomobutton.install
source=(ftp://ftp.grokthis.net/pub/fonomo/${pkgname}-${pkgver}.tar.bz2
        pidgin-fonomobutton-0.1.6-const.patch)
md5sums=('020673634143b2e5a3c3ea6e76c4cdce'
         '33c266437cd6f707e8f02eda3b485406')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i ${srcdir}/pidgin-fonomobutton-0.1.6-const.patch || return 1
  make all || return 1
  install -Dm755 fonomobutton.so "${pkgdir}/usr/lib/pidgin/fonomobutton.so"
  install -Dm644 camera-fonomo.png "${pkgdir}/usr/share/icons/hicolor/22x22/devices/camera-fonomo.png"
}