blob: f207eacdc78c12900bc8b951948857bf8baf170e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: fft
pkgname=rpmlint-git
pkgver=2.4.0.221.gd5033658
pkgrel=1
pkgdesc='A tool for checking common errors in rpm packages.'
arch=('any')
url="https://github.com/rpm-software-management/rpmlint"
license=('GPL2')
makedepends=('git')
depends=('python' 'python-pyxdg' 'python-setuptools' 'python-tomli-w' 'python-zstandard' 'rpm-org' 'cpio')
conflicts=('rpmlint')
source=("${pkgname}::git+https://github.com/rpm-software-management/rpmlint.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --long --tags| sed 's/rpmlint-\([0-9\.]*\)-\(.*\)/\1.r\2/;s/-/./g'
}
build() {
cd ${pkgname}
python setup.py build
}
package() {
cd ${pkgname}
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|