Commit 6ad76ec9 authored by Seblu's avatar Seblu
Browse files

fix rpm pkg



git-svn-id: https://seblu.net/s/archpkg@22 02741741-5192-46b8-8916-7152b19231d9
parent ee40cf87
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -5,14 +5,14 @@

pkgname=rpm
pkgver=5.2.1
pkgrel=2
pkgrel=3
pkgdesc="The RedHat Package Manager"
arch=('i686' 'x86_64')
url="http://rpm5.org/"
license=('GPL')
groups=('system')
depends=('perl' 'python2' 'zlib' 'beecrypt' 'pcre' 'file')
conflicts=("${pkgname}4")
conflicts=("${pkgname}-org" 'rpmextract')
options=('!emptydirs')
source=("http://rpm5.org/files/${pkgname}/${pkgname}-${pkgver%\.[0-9]}/${pkgname}-${pkgver}.tar.gz")
md5sums=('71f825ede4a2ddc191132ae017c9a6e4')
@@ -28,14 +28,13 @@ build() {
              --with-pcre=/usr/lib \
              --with-bzip2=/usr/lib \
              --with-xz=/usr/lib \
              --with-file=/usr/lib \
              || return 1
  make || return 1
              --with-file=/usr/lib
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install || return 1
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 ft=sh et: