blob: fa0022592fe3195ca01284ecf07655f87b8d92a8 (
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
43
44
45
46
47
48
49
50
51
|
# $Id: PKGBUILD 94920 2013-08-01 07:01:09Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Mateusz Herych <heniekk@gmail.com>
pkgname=ekg2
pkgver=0.3.1
pkgrel=7
pkgdesc='Ncurses based Jabber, Gadu-Gadu, Tlen and IRC client'
arch=('i686' 'x86_64')
url="http://ekg2.org/"
license=('GPL')
depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib')
optdepends=('xosd: xosd support'
'sqlite: sqlite support'
'gtk2: gtk support')
source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz
ekg2-0.3.1-giflib5.patch)
md5sums=('68fc05b432c34622df6561eaabef5a40'
'f3b6979e9b8705b0b9c7efd3f3a808fd')
prepare() {
cd $pkgname-$pkgver
sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h
patch -Np1 -i ../ekg2-0.3.1-giflib5.patch
}
build() {
cd $pkgname-$pkgver
export PYTHON=/usr/bin/python2
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/ekg2 \
--with-libgadu \
--with-xosd \
--enable-unicode \
--enable-shared \
--without-gpg \
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
rm -rf "$pkgdir"/usr/libexec
chmod -R 755 "$pkgdir"/usr/lib/perl5
chmod +s "$pkgdir"/usr/lib/ekg2/ioctld
}
|