updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / colorsvn / PKGBUILD
blob89dea1c3183ffcff401e885d994aa83717c52e2b
1 # vim: set ft=sh ts=4 sw=4 noet :
3 pkgname=colorsvn
4 pkgver=0.3.2
5 pkgrel=2
6 pkgdesc="Subversion output colorizer"
7 arch=('any')
8 url="http://${pkgname}.tigris.org"
9 license=('GPL2')
10 depends=('subversion' 'perl')
11 backup=("etc/${pkgname}rc"
12                 "etc/profile.d/${pkgname}-env.sh")
13 source=("http://www.console-colors.de/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
14 md5sums=('f6f59439f56c0ce664a0a832052cdc06')
16 build() {
17         # Build colorsvn files
18         cd "${srcdir}/${pkgname}-${pkgver}"
19         ./configure --prefix=/usr --mandir=/usr/share/man
20         make
23 package() {
24         # Copy colorsvn files in package archive
25         cd "${srcdir}/${pkgname}-${pkgver}"
26         make DESTDIR="${pkgdir}/" install
28         # Copy CREDITS file in package archive 
29         install -d "${pkgdir}/usr/share/licenses/${pkgname}"
30         install -m 644 CREDITS "${pkgdir}/usr/share/licenses/${pkgname}"