summaryrefslogtreecommitdiff
path: root/community/ekg2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ekg2
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ekg2')
-rw-r--r--community/ekg2/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community/ekg2/PKGBUILD b/community/ekg2/PKGBUILD
new file mode 100644
index 000000000..7aa172028
--- /dev/null
+++ b/community/ekg2/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 91649 2013-05-26 09:24:30Z bluewind $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=ekg2
+pkgver=0.3.1
+pkgrel=6
+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)
+md5sums=('68fc05b432c34622df6561eaabef5a40')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h
+ export PYTHON=/usr/bin/python2 #EKG2 isn't python3 friendly
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/ekg2 \
+ --with-libgadu \
+ --with-xosd \
+ --enable-unicode \
+ --enable-shared \
+ --without-gpg
+ make
+}
+
+package() {
+ cd "$srcdir/$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
+}