diff options
author | Illarion Kovalchuk | 2015-06-12 10:48:56 +0300 |
---|---|---|
committer | Illarion Kovalchuk | 2015-06-12 10:48:56 +0300 |
commit | 314fe7f0c475b71bb35e2ad5307a2828f65f3a9a (patch) | |
tree | 29b3802cab4321099f56657223f0f338162baf57 | |
download | aur-314fe7f0c475b71bb35e2ad5307a2828f65f3a9a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fa1be2068863 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = rpmlint + pkgdesc = A tool for checking common errors in rpm packages. + pkgver = 1.6 + pkgrel = 1 + url = http://rpmlint.sourceforge.net/ + arch = any + license = GPL + depends = python2>=2.6 + depends = rpm-org + depends = cpio + depends = desktop-file-utils + source = http://downloads.sourceforge.net/project/rpmlint/rpmlint-1.6.tar.xz + sha256sums = a0dae71a3fed413ee5c47bd04f393cd6598c68c0dcf1504fa020d62814ff674b + +pkgname = rpmlint + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9abe32d993fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: David Roheim <david.roheim@gmail.com> +# Contributer: Thomas Dziedzic < gostrc at gmail > + +pkgname=rpmlint +pkgver=1.6 +pkgrel=1 +pkgdesc='A tool for checking common errors in rpm packages.' +arch=('any') +url=("http://${pkgname}.sourceforge.net/") +license=('GPL') +depends=('python2>=2.6' 'rpm-org' 'cpio' 'desktop-file-utils') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tar.xz") +sha256sums=('a0dae71a3fed413ee5c47bd04f393cd6598c68c0dcf1504fa020d62814ff674b') + +prepare() { + cd "${pkgname}-${pkgver}" + + for file in "${pkgname}" rpmdiff tools/generate-isocodes.py; do + sed -e 's_/usr/bin/python_&2_' -i "${file}" + done +} + +build() { + cd "${pkgname}-${pkgver}" + + make PYTHON=python2 COMPILE_PYC=1 +} + +package() { + cd "${pkgname}-${pkgver}" + + make PYTHON=python2 DESTDIR="${pkgdir}" install +} |