updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / pacman-color-testing / PKGBUILD
blob075d5962dea9334329bdb0edada93189b8dfa099
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
6 pkgver=4.0.1
7 pkgrel=1
8 pkgdesc="A color patched command-line frontend for libalpm (Pacman) - prefers [testing]"
9 arch=('i686' 'x86_64')
10 url="http://www.archlinux.org/pacman/"
11 license=('GPL')
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
19         color.conf)
20 # sha1sums=(`curl -s ${source/pacman-*}sha1sums | grep ${pkgver}.tar.gz | cut -d " " -f1`
21 sha1sums=('9dedc26c84ab61cae72e5a6221c30fa4b0247cce'
22           '0a442823affc5168cb38214a9e1bdd9077a6f609'
23           '6e36b8720de0363f95b2ba7e06beb0770915c5c3')
25 build() {
26   cd pacman-${pkgver}
27   patch -p1 -i ../${pkgname}-${pkgver}-${pkgrel}.patch
28   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
29   make
32 package() {
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"