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> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ccache pkgname=ccache
pkgver=3.3.5 pkgver=3.3.5
pkgrel=0 pkgrel=1
pkgdesc="A fast C/C++ compiler cache" pkgdesc="A fast C/C++ compiler cache"
url="http://ccache.samba.org/" url="http://ccache.samba.org/"
arch="all" arch="all"
@ -31,6 +31,11 @@ build() {
make make
} }
check() {
cd "$builddir"
make test
}
package() { package() {
cd "$builddir" cd "$builddir"
install -Dm 755 ccache "$pkgdir"/usr/bin/ccache install -Dm 755 ccache "$pkgdir"/usr/bin/ccache