summaryrefslogtreecommitdiff
path: root/community/ekg2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ekg2/PKGBUILD')
-rw-r--r--community/ekg2/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/community/ekg2/PKGBUILD b/community/ekg2/PKGBUILD
index f44664450..f1470d9e7 100644
--- a/community/ekg2/PKGBUILD
+++ b/community/ekg2/PKGBUILD
@@ -1,31 +1,32 @@
-# $Id: PKGBUILD 64838 2012-02-18 16:54:04Z bpiotrowski $
-# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# $Id: PKGBUILD 71739 2012-06-02 10:28:38Z bluewind $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Mateusz Herych <heniekk@gmail.com>
pkgname=ekg2
pkgver=0.3.1
-pkgrel=2
+pkgrel=4
pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client"
arch=('i686' 'x86_64' 'mips64el')
url="http://ekg2.org/"
license=('GPL')
depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib')
-optdepends=( 'xosd: for xosd support'
- 'sqlite3: sqlite support'
- 'gtk2: gtk support')
-provides=('ekg2-unicode')
+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
- ./configure --prefix=/usr \
+
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
- --with-libgadu \
- --with-xosd \
- --enable-unicode \
- --enable-shared \
+ --with-libgadu \
+ --with-xosd \
+ --enable-unicode \
+ --enable-shared \
--without-gpg
make
}
@@ -33,6 +34,7 @@ build() {
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