1 # Contributor: JokerBoy <jokerboy at punctweb dot ro>
2 # Contributor: vogo <vogo(at)seznam(dot)cz>
7 pkgdesc="A color patched command-line frontend for libalpm (Pacman)"
9 url="http://www.archlinux.org/pacman/"
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')
21 patch -p1 -i "${srcdir}/${pkgname}-${pkgver}.patch"
25 --localstatedir=/var \
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"