updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pacman-color-testing / PKGBUILD
blobd396f47756ef6acc308e15c2be4e9b85aea7bd47
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         $pkgname-$pkgver-$pkgrel.patch
18         color.conf)
19 # sha1sums=(`curl -s ${source/pacman-*}sha1sums | grep $pkgver.tar.gz | cut -d " " -f1`
20 sha1sums=('9dedc26c84ab61cae72e5a6221c30fa4b0247cce'
21           '0a442823affc5168cb38214a9e1bdd9077a6f609'
22           '6e36b8720de0363f95b2ba7e06beb0770915c5c3')
24 build() {
25   cd pacman-$pkgver
26   patch -p1 -i ../$pkgname-$pkgver-$pkgrel.patch
27   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
28   make
31 package() {
32   install -D pacman-$pkgver/src/pacman/.libs/pacman "$pkgdir/usr/bin/pacman-color"
33   install -Dm644 color.conf "$pkgdir/etc/pacman.d/color.conf"