1 # Author: Wintershade <Wintershade AT google mail DOT com>
2 # Contributor: Konrad <konrad AT knauber DOT name>
3 # Contributor: Luka Perkov <archlinux <at> lukaperkov <dOt> net>
4 # Contirbutor: Fernando M <f <at> beford.net>
9 pkgdesc="RPM Package Manager - RPM.org fork, used in major RPM distros"
10 arch=('i686' 'x86_64')
11 url=("http://www.rpm.org/")
13 depends=('lua' 'file' 'nss' 'perl' 'python2')
14 conflicts=('rpm' 'rpmextract')
15 provides=('rpm=${pkgver}' 'rpmextract=1.0-4')
16 source=(http://rpm.org/releases/rpm-4.9.x/rpm-${pkgver}.tar.bz2
18 md5sums=('de64e7410721aa8e377adb8430cfc9e2'
19 'a7b527e4c210e66ef72532c606072e0d')
23 cd ${srcdir}/rpm-${pkgver}
24 ./configure --localstatedir=/var --prefix=/usr --without-selinux --disable-rpath --with-external-db --enable-python CPPFLAGS="`pkg-config --cflags nss`" PYTHON=python2
29 cd ${srcdir}/rpm-${pkgver}
30 make prefix=${pkgdir}/usr localstatedir=${pkgdir}/var install
31 rmdir ${pkgdir}/var/tmp
32 install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/