aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rpmlint/APKBUILD
blob: 748d39ba16558f10dc42b1a9c42ba5f738f39064 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=rpmlint
pkgver=1.4
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://rpmlint.zarb.org/download/$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="bfbdd78847ca2b253c2e4e65c41f49e2  rpmlint-1.4.tar.xz"