diff --git a/main/logrotate/APKBUILD b/main/logrotate/APKBUILD index a883c2e90cc..7c08db3dc9f 100644 --- a/main/logrotate/APKBUILD +++ b/main/logrotate/APKBUILD @@ -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