PKGBUILDs/extra/rpmunpack/PKGBUILD

22 lines
721 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 35875 2009-04-17 23:40:21Z eric $
# Maintainer: dale <dale@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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
}