main/logrotate: add check

This commit is contained in:
J0WI 2020-12-06 17:16:56 +01:00 committed by Leo
parent 2e7292a10f
commit 7540f00a97

View File

@ -8,6 +8,7 @@ url="https://github.com/logrotate/logrotate"
arch="all"
license="GPL-2.0-or-later"
makedepends="popt-dev autoconf automake libtool"
checkdepends="coreutils"
subpackages="$pkgname-doc $pkgname-openrc"
source="$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
logrotate.cron
@ -31,6 +32,10 @@ build() {
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install