Commit 08dfaa57 authored by Lukas's avatar Lukas

Remove colorgcc

parent 6a12c17b
2010-05-28 Eric Belanger <eric@archlinux.org>
* colorgcc 1.3.2-6
* Switched to 'any' arch
* Updated Debian patch
* Fixed source url
2009-01-07 Eric Belanger <eric@archlinux.org>
* colorgcc 1.3.2-5
* Added Debian patches to fix problem with ccache and add gcj support
* Added man pages
* Added backup array
* Moved config file to correct location
* Removed .install file
* Added ChangeLog
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer: Samir Benmendil <ram-z[at]chakra-project[dot]org>
pkgname=colorgcc
pkgver=1.3.2
pkgrel=6
pkgdesc="A Perl wrapper to colorize the output of compilers with warning/error messages matching the gcc output format"
arch=('any')
url="http://www.schlueters.de/colorgcc.html"
license=('GPL')
depends=('perl')
backup=('etc/colorgcc/colorgccrc')
source=(http://mir1.ovh.net/gentoo-distfiles/distfiles/${pkgname}-${pkgver}.tar.gz colorgcc_1.3.2.0-10.diff)
md5sums=('7d62f92ab99c8271c79c40a0a470e8f7' '2811b14a96a1b4df72edab4c1b46ecdd')
sha1sums=('c2944ecaaa58f41f37cc15304f4f9eae0c366cd9' '8cd0924009198753b624165f2137ca23ff707578')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../colorgcc_1.3.2.0-10.diff || return 1
patch -p1 < debian/patches/005_old_changes.patch || return 1
patch -p1 < debian/patches/01_split_non_quoted.patch || return 1
patch -p1 < debian/patches/02_stderr.patch || return 1
patch -p1 < debian/patches/03_color_warnings.patch || return 1
patch -p1 < debian/patches/04_g++_color.patch || return 1
patch -p1 < debian/patches/05_console-colors.patch || return 1
patch -p1 < debian/patches/06_use_distcc.patch || return 1
patch -p1 < debian/patches/07_invalid_attr.patch || return 1
patch -p1 < debian/patches/08_force_color_opt.patch || return 1
patch -p1 < debian/patches/09_color_warnings.patch || return 1
patch -p1 < debian/patches/10_utf8_output.patch || return 1
install -D -m644 colorgccrc "${pkgdir}/etc/colorgcc/colorgccrc" || return 1
install -D -m755 colorgcc "${pkgdir}/usr/bin/colorgcc" || return 1
install -D -m644 debian/colorgccrc.5 "${pkgdir}/usr/share/man/man5/colorgccrc.5" || return 1
install -D -m644 debian/colorgcc.1 "${pkgdir}/usr/share/man/man1/colorgcc.1" || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -d "${pkgdir}/bin"
ln -s /usr/bin/colorgcc "${pkgdir}/bin/gcc"
ln -s /usr/bin/colorgcc "${pkgdir}/bin/g++"
ln -s /usr/bin/colorgcc "${pkgdir}/bin/cc"
ln -s /usr/bin/colorgcc "${pkgdir}/bin/c++"
ln -s /usr/bin/colorgcc "${pkgdir}/bin/gcj"
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment