# $Id: PKGBUILD 35875 2009-04-17 23:40:21Z eric $ # Maintainer: dale # Contributor: Tom Newsom pkgname=rpmunpack pkgver=0 pkgrel=2 pkgdesc="This program converts rpm archives to cpio archives for cpio or afio" arch=(i686 x86_64) url="http://www.ibiblio.org/pub/Linux/utils/package" license=('custom') depends=('glibc') source=(http://www.ibiblio.org/pub/Linux/utils/package/$pkgname.tar.gz LICENSE) md5sums=('59608ae17af86e39e867329448674674' '93877a588c62512621c6d155bf6679a0') build() { cd $srcdir/$pkgname make || return 1 install -D -m755 rpmunpack $pkgdir/usr/bin/rpmunpack || return 1 install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }