From ad1e7fcc90bc8cd3f50b84e64ea2f9ee21835549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Sat, 20 Jan 2018 14:22:57 +0100 Subject: [PATCH] main/ccache: add check --- main/ccache/APKBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/main/ccache/APKBUILD b/main/ccache/APKBUILD index 8530b638c25..6fb0957cd2d 100644 --- a/main/ccache/APKBUILD +++ b/main/ccache/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=ccache pkgver=3.3.5 -pkgrel=0 +pkgrel=1 pkgdesc="A fast C/C++ compiler cache" url="http://ccache.samba.org/" arch="all" @@ -31,6 +31,11 @@ build() { make } +check() { + cd "$builddir" + make test +} + package() { cd "$builddir" install -Dm 755 ccache "$pkgdir"/usr/bin/ccache