1 # Maintainer: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: JokerBoy <jokerboy at punctweb dot ro>
3 # Contributor: vogo <vogo(at)seznam(dot)cz>
5 pkgname=pacman-color-testing
8 pkgdesc="A color patched command-line frontend for libalpm (Pacman) - prefers [testing]"
10 url="http://www.archlinux.org/pacman/"
12 depends=('pacman>=4.0' 'pacman<4.1')
13 conflicts=('pacman-color')
14 provides=('pacman-color')
15 backup=('etc/pacman.d/color.conf')
16 source=(http://mirrors.kernel.org/archlinux/other/pacman/pacman-${pkgver}.tar.gz
17 # source=(ftp://ftp.archlinux.org/other/pacman/pacman-${pkgver}.tar.gz
18 ${pkgname}-${pkgver}-${pkgrel}.patch
20 # sha1sums=(`curl -s ${source/pacman-*}sha1sums | grep ${pkgver}.tar.gz | cut -d " " -f1`
21 sha1sums=('9dedc26c84ab61cae72e5a6221c30fa4b0247cce'
22 '0a442823affc5168cb38214a9e1bdd9077a6f609'
23 '6e36b8720de0363f95b2ba7e06beb0770915c5c3')
27 patch -p1 -i ../${pkgname}-${pkgver}-${pkgrel}.patch
28 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
33 install -D pacman-${pkgver}/src/pacman/.libs/pacman "${pkgdir}/usr/bin/pacman-color"
34 install -Dm644 color.conf "${pkgdir}/etc/pacman.d/color.conf"