summaryrefslogtreecommitdiff
path: root/community/ccze/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/ccze/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/ccze/PKGBUILD')
-rw-r--r--community/ccze/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/ccze/PKGBUILD b/community/ccze/PKGBUILD
new file mode 100644
index 000000000..0ff0df300
--- /dev/null
+++ b/community/ccze/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 24887 2010-08-29 16:28:18Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=ccze
+pkgver=0.2.1
+pkgrel=5
+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
+}