From 4bc61018eec54dbe50e7556ce01d2ef2859b2c9f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 Feb 2012 23:14:54 +0000 Subject: Thu Feb 9 23:14:54 UTC 2012 --- community-testing/ccze/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 community-testing/ccze/PKGBUILD (limited to 'community-testing/ccze/PKGBUILD') diff --git a/community-testing/ccze/PKGBUILD b/community-testing/ccze/PKGBUILD new file mode 100644 index 000000000..909f73b7e --- /dev/null +++ b/community-testing/ccze/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 64055 2012-02-08 23:51:14Z allan $ +# Maintainer: Jaroslav Lichtblau + +pkgname=ccze +pkgver=0.2.1 +pkgrel=6 +pkgdesc="Robust and modular log colorizer with many plugins" +arch=('i686' 'x86_64') +url="http://freshmeat.net/projects/ccze/" +license=('GPL') +depends=('ncurses' 'pcre') +makedepends=('patch') +source=(ftp://ftp.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}.orig.tar.gz \ + $pkgname-fix-segfault.diff) +md5sums=('221966bce7c5f011eca38157241a0432' + '294e82702d179264abc43596da955358') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + patch -Np0 -i ${srcdir}/$pkgname-fix-segfault.diff + + #killing a bug + sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' -i src/Makefile.in + sed -e '/#undef error_t/d' -i system.h.in + + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} -- cgit v1.2.3-54-g00ecf