summaryrefslogtreecommitdiff
path: root/community/ekg2
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-26 10:36:11 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-06-26 10:36:11 -0300
commit33f415176525625b793cdfa66f3fc5828214a34e (patch)
tree4f60a7d083ef4d8d0324f840d13267e58d790a17 /community/ekg2
parent14a4ed053872549facd5a1f4817bee71bb21c8f7 (diff)
parent9a6b691757346035549dbd12d1323301d04a6675 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: multilib/lib32-libphobos-ldc/PKGBUILD multilib/wine_gecko/PKGBUILD testing/dbus-core/PKGBUILD testing/dbus-core/dbus testing/dbus-core/dbus.install testing/psmisc/PKGBUILD testing/systemd/PKGBUILD testing/systemd/systemd-tools.install testing/systemd/systemd.install testing/sysvinit/PKGBUILD
Diffstat (limited to 'community/ekg2')
-rw-r--r--community/ekg2/PKGBUILD38
1 files changed, 20 insertions, 18 deletions
diff --git a/community/ekg2/PKGBUILD b/community/ekg2/PKGBUILD
index f1470d9e7..6be35c0bc 100644
--- a/community/ekg2/PKGBUILD
+++ b/community/ekg2/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71739 2012-06-02 10:28:38Z bluewind $
+# $Id: PKGBUILD 72899 2012-06-24 16:20:06Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Mateusz Herych <heniekk@gmail.com>
pkgname=ekg2
pkgver=0.3.1
-pkgrel=4
+pkgrel=5
pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client"
arch=('i686' 'x86_64' 'mips64el')
url="http://ekg2.org/"
@@ -17,26 +17,28 @@ source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.gz
md5sums=('68fc05b432c34622df6561eaabef5a40')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h
+ 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 \
- --with-libgadu \
- --with-xosd \
- --enable-unicode \
- --enable-shared \
- --without-gpg
- make
+ ./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
+ 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
+ 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
}