summaryrefslogtreecommitdiff
path: root/community/gyachi/PKGBUILD
blob: e01e8c385eed478b0a3cde32fbed0ce3ef7aa7e5 (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
33
34
35
36
37
38
39
40
41
42
# $Id: PKGBUILD 41545 2011-03-07 16:44:45Z ibiru $
# Maintainer:  Ionut Biru <ibiru@archlinux.org>
# Contributor: TDY <tdy@gmx.com>
# Contributor: Alexandru Mizeranschi <lexu_85@yahoo.com>
# Contributor: Conor Callahan <majikstreet@gmail.com>

pkgname=gyachi
pkgver=1.2.10
pkgrel=3
pkgdesc="An improved fork of the GyachE Yahoo! client"
arch=('i686' 'x86_64')
url="http://gyachi.sourceforge.net/"
license=('GPL')
depends=('libtool' 'jasper' 'libgtkhtml' 'libmcrypt' 'libv4l' 'gpgme'
         'gtkspell')
makedepends=('pkgconfig' 'alsa-lib' 'pulseaudio' 'imagemagick')
optdepends=('pulseaudio: for pulseaudio support')
options=('!libtool')
source=(http://downloads.sourceforge.net/gyachi/gyachi-${pkgver}.tar.gz)
md5sums=('68625f81c7be8cc6d67599fdb02f0178')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
    ./autogen.sh
    ./configure --prefix=/usr --libexecdir=/usr/lib/gyachi \
      --disable-rpath \
      --disable-wine \
      --disable-gtktest \
      --disable-glibtest \
      --disable-plugin_libnotify \
      --with-x
    make
}

package () {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    #icon
    install -Dm644 "${pkgdir}/usr/share/gyachi/themes/gyachi-classic/gyach-icon_48.png" \
        "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}