updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / rpmunpack / PKGBUILD
blobb09133e3fd81261e27f414c117f1478c941fe0f1
1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
2 # Contributor: dale <dale@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=rpmunpack
6 pkgver=0
7 pkgrel=3
8 pkgdesc="This program converts rpm archives to cpio archives for cpio or afio"
9 arch=(i686 x86_64)
10 url="http://www.ibiblio.org/pub/Linux/utils/package"
11 license=('custom')
12 depends=('glibc')
13 source=(http://www.ibiblio.org/pub/Linux/utils/package/${pkgname}.tar.gz LICENSE)
14 md5sums=('59608ae17af86e39e867329448674674' '93877a588c62512621c6d155bf6679a0')
16 build() {
17   cd ${srcdir}/${pkgname}
18   make || return 1
19   install -D -m755 rpmunpack ${pkgdir}/usr/bin/rpmunpack || return 1
20   install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE