updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / colortail / PKGBUILD
blob3450a1f6c268375f9fb6c94d9b109c6500f6e8ee
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: Aaron Griffin <aaron@archlinux.org>
3 # Contributor: Mauricio Barrera <damage@damage.zero.org>
5 pkgname=colortail
6 pkgver=0.3.3
7 pkgrel=1
8 pkgdesc="Log colorizer to make log checking easier"
9 arch=('i686' 'x86_64')
10 license=('GPL')
11 url="http://joakimandersson.se/projects/colortail/"
12 depends=('gcc-libs>=4.4.1')
13 backup=('etc/colortail/conf.daemon'
14         'etc/colortail/conf.kernel'
15         'etc/colortail/conf.messages'
16         'etc/colortail/conf.secure'
17         'etc/colortail/conf.xferlog')
18 source=(http://joakimandersson.se/files/${pkgname}-${pkgver}.tar.gz)
19 md5sums=('a6fc24230c0a2c7cd0313cd3b73f4a64')
21 build() {
22   cd "${srcdir}/${pkgname}-${pkgver}"
24   ./configure --prefix=/usr
25   make
28 package() {
29   cd "${srcdir}/${pkgname}-${pkgver}"
31   make DESTDIR="${pkgdir}/" install
32   install -D -m644 example-conf/conf.daemon "${pkgdir}/etc/colortail/conf.daemon"
33   install -D -m644 example-conf/conf.kernel "${pkgdir}/etc/colortail/conf.kernel"
34   install -D -m644 example-conf/conf.messages "${pkgdir}/etc/colortail/conf.messages"
35   install -D -m644 example-conf/conf.secure "${pkgdir}/etc/colortail/conf.secure"
36   install -D -m644 example-conf/conf.xferlog "${pkgdir}/etc/colortail/conf.xferlog"