summaryrefslogtreecommitdiffstats
path: root/abs/extra/rpmextract/PKGBUILD
blob: 89505fae058421222c9b28e46b3c52290790bda6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $Id: PKGBUILD 149521 2012-02-08 11:18:26Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=rpmextract
pkgver=1.0
pkgrel=5
pkgdesc="Script to convert or extract RPM archives (contains rpm2cpio)"
url="http://www.archlinux.org"
arch=('any')
license=('GPL')
depends=('bash' 'libarchive' 'coreutils')
source=('rpmextract.sh' 'rpm2cpio')
md5sums=('a7b527e4c210e66ef72532c606072e0d'
         '57a4e99bedcefadc2f89006ce98d2e60')

package() {
  install -d ${pkgdir}/usr/bin
  install -m755 ${srcdir}/rpmextract.sh ${pkgdir}/usr/bin/
  install -m755 ${srcdir}/rpm2cpio ${pkgdir}/usr/bin/
}