From 7c1609b1bb4b6b7219b21b0d2750fcfaf02d63bc Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 29 Jan 2017 09:50:29 +0000 Subject: sample apkbuild: document check() function usage --- sample.APKBUILD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sample.APKBUILD b/sample.APKBUILD index a95fec2..30184c5 100644 --- a/sample.APKBUILD +++ b/sample.APKBUILD @@ -43,4 +43,11 @@ package() { # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } +check() { + # uncomment the 2 lines below if there is a testsuite. we assume the testsuite + # is run using "make check", which is the default for autotools-based build systems. + # cd "$builddir" + # make check || return 1 +} + md5sums="" #generate with 'abuild checksum' -- cgit v1.2.3-60-g2f50