[arch-commits] CVS update of extra/network/centericq (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Jun 10 17:10:25 UTC 2007
Date: Sunday, June 10, 2007 @ 13:10:25
Author: jgc
Path: /home/cvs-extra/extra/network/centericq
Modified: PKGBUILD (1.28 -> 1.29)
upgpkg: centericq 4.21.0-5
Build with ncursesw, clean up PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Index: extra/network/centericq/PKGBUILD
diff -u extra/network/centericq/PKGBUILD:1.28 extra/network/centericq/PKGBUILD:1.29
--- extra/network/centericq/PKGBUILD:1.28 Thu Jun 7 22:16:02 2007
+++ extra/network/centericq/PKGBUILD Sun Jun 10 13:10:25 2007
@@ -1,34 +1,34 @@
-# $Id: PKGBUILD,v 1.28 2007/06/08 02:16:02 eric Exp $
+# $Id: PKGBUILD,v 1.29 2007/06/10 17:10:25 jgc Exp $
# Maintainer: dorphell <dorphell at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=centericq
pkgver=4.21.0
-pkgrel=4
+pkgrel=5
pkgdesc="A text mode menu- and window-driven IM interface (ICQ, Yahoo!, MSN, Jabber, ...)"
arch=(i686 x86_64)
-depends=('libstdc++5' 'curl>=7.16.2' 'perl' 'openssl' 'gpgme')
+depends=('curl>=7.16.2' 'perl' 'openssl' 'gpgme')
license=('GPL')
-source=(http://konst.org.ua/download/$pkgname-$pkgver.tar.gz
+source=(http://thekonst.net/download/${pkgname}-${pkgver}.tar.gz
centericq-kkconsui.patch centericq-kkstrtext.patch centericq-src.patch)
-md5sums=('3dbf6237a19cb41029f3abd90251edc3' '42e3ae21aa46f6111c9cd9bb158f3844'\
+md5sums=('3dbf6237a19cb41029f3abd90251edc3' '42e3ae21aa46f6111c9cd9bb158f3844'
'e1f5f21c4285fe1da9aab576eb0a13fc' 'f4bc82f7bd3f94c2585ffe4f724521ef')
-url="http://konst.org.ua/centericq/"
+url="http://thekonst.net/centericq/"
build() {
unset CFLAGS
unset CXXFLAGS
- cd $startdir/src/$pkgname-$pkgver
+ cd ${startdir}/src/${pkgname}-${pkgver}
#arch64 fixes
- [ "$CARCH" == "x86_64" ] && patch -Np0 -i ../centericq-kkconsui.patch
- [ "$CARCH" == "x86_64" ] && patch -Np0 -i ../centericq-kkstrtext.patch
- [ "$CARCH" == "x86_64" ] && patch -Np0 -i ../centericq-src.patch
+ if [ "${CARCH}" = "x86_64" ]; then
+ patch -Np0 -i ../centericq-kkconsui.patch || return 1
+ patch -Np0 -i ../centericq-kkstrtext.patch || return 1
+ patch -Np0 -i ../centericq-src.patch || return 1
+ fi
- #autoconf hack, regenerate things with newer autoconf
- #find -iname configure.in -execdir autoconf \;
-
- ./configure --prefix=/usr --with-ssl --without-libjpeg
+ sed -i "s|ncurses|ncursesw|g" configure
+ ./configure --prefix=/usr --sysconfdir=/etc --with-ssl --without-libjpeg
make || return 1
- make prefix=$startdir/pkg/usr install
+ make DESTDIR=${startdir}/pkg install
}
More information about the arch-commits
mailing list