updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / supercat / PKGBUILD
blob69b057a3528557cc7e8e935d35615f8591d5f4fe
1 # Contributor: Joseph Xu <josephzxu@gmail.com>
2 pkgname=supercat
3 pkgver=0.5.5
4 pkgrel=1
5 arch=(i686 x86_64)
6 pkgdesc="A program that colorizes text based on matching regular expressions/strings/characters"
7 url="http://supercat.nosredna.net"
8 license=('GPL')
9 makedepends=('gcc')
10 source=("http://supercat.nosredna.net/${pkgname}-${pkgver}.tar.gz")
11 md5sums=("baf637fa841fa069481f4aba6bf0d158")
13 build()
15   cd $startdir/src
16   tar -xzvf ${pkgname}-${pkgver}.tar.gz
17   cd ${pkgname}-${pkgver}
18   ./configure --prefix=$startdir/pkg/usr || return 1
19   make install-exec || return 1
20   # manually copy the config files
21   mkdir -p $startdir/pkg/etc/supercat
22   install -m644 spcrc/spcrc-* $startdir/pkg/etc/supercat
23   # install man pages
24   cd doc
25   make install || return 1