updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / rpmlint / PKGBUILD
blob83558ba59b6f1d029ff1d4dd1c4ead0ed75ae9c4
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
3 pkgname=rpmlint
4 pkgver=1.3
5 pkgrel=2
6 pkgdesc='A tool for checking common errors in rpm packages.'
7 arch=('any')
8 url=('http://rpmlint.zarb.org/cgi-bin/trac.cgi')
9 license=('GPL')
10 depends=('python2' 'rpm-org' 'cpio' 'desktop-file-utils')
11 source=("http://rpmlint.zarb.org/download/rpmlint-${pkgver}.tar.xz")
12 md5sums=('afe1b906776d1ab8148888c25fd31006')
14 build() {
15   cd rpmlint-${pkgver}
17   make PYTHON=python2
20 package() {
21   cd rpmlint-${pkgver}
23   make PYTHON=python2 DESTDIR=${pkgdir} install
25   sed \
26     -e 's_/usr/bin/python_&2_' \
27     -i ${pkgdir}/usr/bin/rpmlint