PKGBUILDs/extra/rpmextract/PKGBUILD

21 lines
630 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 24273 2009-01-15 20:30:15Z giovanni $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=rpmextract
pkgver=1.0
pkgrel=3
pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
arch=(i686 x86_64)
license=('GPL')
source=(rpmextract.sh rpm2cpio)
url="http://www.archlinux.org"
depends=('bash' 'libarchive' 'coreutils')
md5sums=('a7b527e4c210e66ef72532c606072e0d'
'57a4e99bedcefadc2f89006ce98d2e60')
build() {
install -d ${pkgdir}/usr/bin
install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/ || return 1
install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/ || return 1
}