blob: 034bda5e4c79d645b1a07e867f443f6c65572cd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: vogo <vojtech.gondzala@gmail.com>
pkgname=pacman-color
pkgver=3.3.2
pkgrel=1
pkgdesc="Command-line frontend for libalpm aka pacman with color patch"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
license=('GPL')
depends=("pacman=$pkgver")
makedepends=('patch')
backup=('etc/pacman.d/color.conf')
source=(ftp://ftp.archlinux.org/other/pacman/pacman-$pkgver.tar.gz
$pkgname-$pkgver-${pkgrel}.patch
color.conf)
md5sums=('21b5a12a0e7af4b39e20091354a3e3db'
'4aaaf5d65f70c97a6da5a3c12ebc1dff'
'fd5087a5f6cf95ca0175ddb9fd257505')
build() {
cd $startdir/src/pacman-$pkgver
patch -p1 -i ../$pkgname-$pkgver-${pkgrel}.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-doc
make || return 1
# install pacman-color
install -Dm755 $startdir/src/pacman-$pkgver/src/pacman/.libs/pacman \
$startdir/pkg/usr/bin/pacman-color
# install color.conf
install -Dm644 $startdir/src/color.conf \
$startdir/pkg/etc/pacman.d/color.conf
}
|