[arch-commits] Commit in ekg2/repos (4 files)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Mon May 20 14:58:42 EDT 2013


    Date: Monday, May 20, 2013 @ 20:58:42
  Author: foutrelis
Revision: 91270

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ekg2/repos/community-staging-i686/
  ekg2/repos/community-staging-i686/PKGBUILD
    (from rev 91269, ekg2/trunk/PKGBUILD)
  ekg2/repos/community-staging-x86_64/
  ekg2/repos/community-staging-x86_64/PKGBUILD
    (from rev 91269, ekg2/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: ekg2/repos/community-staging-i686/PKGBUILD (from rev 91269, ekg2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-05-20 18:58:42 UTC (rev 91270)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Mateusz Herych <heniekk at 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
+}

Copied: ekg2/repos/community-staging-x86_64/PKGBUILD (from rev 91269, ekg2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-05-20 18:58:42 UTC (rev 91270)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Mateusz Herych <heniekk at 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
+}



More information about the arch-commits mailing list