aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2018-03-07 11:28:07 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2018-03-07 11:32:34 +0100
commit8aad67fff609b5286e7593dfa6bbdcc99758aec6 (patch)
treedfadac4bdc210edf7cb8329f0ed120577866d7ee /testing
parent6a60630dfbb06efb9356f52ece9083c9fc2a0418 (diff)
downloadaports-8aad67fff609b5286e7593dfa6bbdcc99758aec6.tar.bz2
aports-8aad67fff609b5286e7593dfa6bbdcc99758aec6.tar.xz
testing/stlink: modernize APKBUILD
Diffstat (limited to 'testing')
-rw-r--r--testing/stlink/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/testing/stlink/APKBUILD b/testing/stlink/APKBUILD
index 1691a9cf3e..baa8685c76 100644
--- a/testing/stlink/APKBUILD
+++ b/testing/stlink/APKBUILD
@@ -23,18 +23,17 @@ build() {
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=cpp" \
- || return 1
- make || return 1
+ -DCMAKE_C_FLAGS="$CFLAGS -Wno-error=cpp"
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
install -m644 README.md ChangeLog.md doc/tutorial.md \
- "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="cb7617068a6dcaf7e8d0ccfb8b918f0373f6120398dab40a8b8d6567705871226684fd19aad92e4bab623310a5da13ea9fd70153b619f58d3534f0a4ff3a9886 stlink-1.4.0.tar.gz"