updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / pacman-color / PKGBUILD
blob179c179ff20d93a5a709b86402a57503bcc5c1e3
1 # Contributor: JokerBoy <jokerboy at punctweb dot ro>
2 # Contributor: vogo <vogo(at)seznam(dot)cz>
4 pkgname=pacman-color
5 pkgver=3.5.4
6 pkgrel=1
7 pkgdesc="A color patched command-line frontend for libalpm (Pacman)"
8 arch=('i686' 'x86_64')
9 url="http://www.archlinux.org/pacman/"
10 license=('GPL')
11 depends=('pacman>=3.5' 'pacman<3.6')
12 backup=('etc/pacman.d/color.conf')
13 source=("http://mirrors.kernel.org/archlinux/other/pacman/pacman-${pkgver}.tar.gz"
14         "${pkgname}-${pkgver}.patch" 'color.conf')
15 md5sums=('2dd3a85d55ee3dd89abd349aa837447c'
16          'a99d2c644ac4d43340f52c223c1efef1'
17          '47665f5054196c20ba0dd280a8d4c5e1')
19 build() {
20   cd "pacman-${pkgver}"
21   patch -p1 -i "${srcdir}/${pkgname}-${pkgver}.patch"
22   ./configure \
23       --prefix=/usr \
24       --sysconfdir=/etc \
25       --localstatedir=/var \
26       --disable-doc
27   make ${MAKEFLAGS}
30 package() {
31   # install pacman-color & color.conf
32   install -Dm755 "pacman-${pkgver}/src/pacman/.libs/pacman" "${pkgdir}/usr/bin/pacman-color"
33   install -Dm644 'color.conf' "${pkgdir}/etc/pacman.d/color.conf"