main/ccache: add check

This commit is contained in:
André Klitzing 2018-01-20 14:22:57 +01:00 committed by Sören Tempel
parent 14351ecc2e
commit ad1e7fcc90

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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