aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rpmlint/APKBUILD
blob: 1d0d9823eed51f127619e824dbfaad91334f5d02 (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
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=rpmlint
pkgver=1.6
pkgrel=0
pkgdesc="A tool for checking common errors in RPM packages"
url="http://rpmlint.zarb.org"
arch="noarch"
license="GPL2"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}

md5sums="ad09ff960c7f3561af59f7886f3619ef  rpmlint-1.6.tar.xz"
sha256sums="a0dae71a3fed413ee5c47bd04f393cd6598c68c0dcf1504fa020d62814ff674b  rpmlint-1.6.tar.xz"
sha512sums="1eb8281af40accbc8b0273b552dcb6ccbc8973cbd8a86128205a05e7e98fd0598f0dd7e74e3844e28580111f1d37a11c15014fbd20202464591f5721ed3eca52  rpmlint-1.6.tar.xz"