aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-03-03 11:08:12 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-03 08:50:06 -0300
commitb352e59a7928923e1af3b81a34a2d7b4b78499fb (patch)
tree7a2297dac425c6d9fbb9f1302404ae11949ec7e3
parent20456f3c1ddbdbcef9359ce0453b8d16d02ec526 (diff)
downloadaports-b352e59a7928923e1af3b81a34a2d7b4b78499fb.tar.bz2
aports-b352e59a7928923e1af3b81a34a2d7b4b78499fb.tar.xz
community/grantlee: move from testing
-rw-r--r--community/grantlee/APKBUILD (renamed from testing/grantlee/APKBUILD)12
1 files changed, 7 insertions, 5 deletions
diff --git a/testing/grantlee/APKBUILD b/community/grantlee/APKBUILD
index 14b3d4815a..b32963c00c 100644
--- a/testing/grantlee/APKBUILD
+++ b/community/grantlee/APKBUILD
@@ -14,21 +14,23 @@ source="http://downloads.grantlee.org/grantlee-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
- cmake \
+ cmake -B "$builddir"/build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
- make
- make docs
+ make -C build
+ make -C build docs
}
check() {
+ cd "$builddir"/build
+
# testfilters is broken
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "testfilters"
}
package() {
- DESTDIR="$pkgdir" make install
- install -Dm644 apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
+ DESTDIR="$pkgdir" make -C build install
+ install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
}
sha512sums="94b53d103aa775e6d45357d44d5634a5214d12ea7178d251fda30c5a88ddc2682ae44501ee8b7dc475793b84fa0998eb0bc13eea3f2e10ab29b1489db6ea60bd grantlee-5.2.0.tar.gz"