mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
1 KiB
Bash
26 lines
1 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
|
|
pkgname=colordiff
|
|
pkgver=1.0.9
|
|
pkgrel=1
|
|
pkgdesc="A Perl script wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting"
|
|
arch=('i686' 'x86_64')
|
|
url="http://colordiff.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('perl' 'diffutils')
|
|
backup=('etc/colordiffrc' 'etc/colordiffrc-lightbg')
|
|
source=(http://colordiff.sourceforge.net/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('31864847eaa4e900f72bbb6bbc64f1ec')
|
|
sha1sums=('52aa37957660b8060b186b949de58790ba816ab8')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
install -D -m644 colordiffrc ${pkgdir}/etc/colordiffrc
|
|
install -D -m644 colordiffrc-lightbg ${pkgdir}/etc/colordiffrc-lightbg
|
|
install -D -m755 colordiff.pl ${pkgdir}/usr/bin/colordiff
|
|
install -D -m755 cdiff.sh ${pkgdir}/usr/bin/cdiff
|
|
install -D -m644 colordiff.1 ${pkgdir}/usr/share/man/man1/colordiff.1
|
|
install -D -m644 cdiff.1 ${pkgdir}/usr/share/man/man1/cdiff.1
|
|
}
|