summaryrefslogtreecommitdiff
path: root/community/ekg2/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ekg2/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ekg2/PKGBUILD')
-rw-r--r--community/ekg2/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/ekg2/PKGBUILD b/community/ekg2/PKGBUILD
new file mode 100644
index 000000000..d1101f498
--- /dev/null
+++ b/community/ekg2/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 39770 2011-02-16 12:06:58Z mherych $
+# Maintainer: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=ekg2
+pkgver=0.3.0
+pkgrel=1
+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' 'gpgme')
+optdepends=( 'xosd: for xosd support'
+ 'sqlite3: sqlite support'
+ 'gtk2: gtk support')
+provides=('ekg2-unicode')
+source=(http://pl.ekg2.org/ekg2-$pkgver.tar.gz)
+md5sums=('652e492fcf72281a42c3e5960347516e')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --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
+ mv $pkgdir/usr/libexec/ioctld $pkgdir/usr/lib/ekg2/ioctld
+ rm -rf $pkgdir/usr/libexec
+ chmod -R 755 $pkgdir/usr/lib/perl5
+}