updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / rpm / PKGBUILD
blob37fce901d9b4ca75d4a6283c29c9f8444088f0d9
1 # Maintainer: Paolo Stivanin <admin AT polslinux DOT it>
3 pkgname=rpm
4 pkgver=5.3.5
5 pkgrel=1
6 pkgdesc="The RedHat Package Manager"
7 arch=('i686' 'x86_64')
8 url="http://rpm5.org/"
9 license=('GPL')
10 groups=('system')
11 depends=('perl' 'python2' 'zlib' 'beecrypt' 'pcre' 'file')
12 conflicts=("${pkgname}-org" 'rpmextract')
13 options=('!emptydirs')
14 source=("http://rpm5.org/files/$pkgname/$pkgname-5.3/$pkgname-$pkgver.tar.gz")
15 md5sums=('7a5112fd208bfda7a1cab20b9ce17a02')
17 build() {
18   cd $pkgname-$pkgver
19   PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
20               --sysconfdir=/etc \
21               --localstatedir=/var \
22               --with-python \
23               --without-selinux \
24               --with-popt=/usr/lib \
25               --with-pcre=/usr/lib \
26               --with-bzip2=/usr/lib \
27               --with-xz=/usr/lib \
28               --with-file=/usr/lib
29   make
32 package() {
33   cd $pkgname-$pkgver
34   make DESTDIR="$pkgdir" install