aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/gtest/APKBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/testing/gtest/APKBUILD b/testing/gtest/APKBUILD
index 3957b32457..5304365b91 100644
--- a/testing/gtest/APKBUILD
+++ b/testing/gtest/APKBUILD
@@ -38,16 +38,23 @@ build() {
package() {
cd "$_builddir"
- for dir in {"$pkgdir"/usr/lib,"$pkgdir"/usr/include/gtest/internal,"$pkgdir"/usr/share/licenses/gtest,"$pkgdir"/usr/src/gtest/cmake,"$pkgdir"/usr/src/gtest/src};do
- mkdir -pm 0755 "$dir"
+ for dir in usr/lib usr/include/gtest/internal usr/share/licenses/gtest\
+ usr/src/gtest/cmake usr/src/gtest/src; do
+ install -d -m 0755 "$pkgdir"/"$dir"
done
install -m 0644 build/libgtest*.so "$pkgdir"/usr/lib || return 1
- install -m 0644 include/gtest/*.h "$pkgdir"/usr/include/gtest || return 1
- install -m 0644 include/gtest/internal/*.h "$pkgdir"/usr/include/gtest/internal/ || return 1
- install -m 0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ || return 1
- install -m 0644 "$_builddir/fused-src/gtest"/* "$pkgdir"/usr/src/gtest/src/ || return 1
- install -m 0644 "$_builddir/CMakeLists.txt" "$pkgdir"/usr/src/gtest/ || return 1
- install -m 0644 "$_builddir/cmake"/* "$pkgdir"/usr/src/gtest/cmake/ || return 1
+ install -m 0644 include/gtest/*.h "$pkgdir"/usr/include/gtest \
+ || return 1
+ install -m 0644 include/gtest/internal/*.h \
+ "$pkgdir"/usr/include/gtest/internal/ || return 1
+ install -m 0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/ \
+ || return 1
+ install -m 0644 "$_builddir/fused-src/gtest"/* \
+ "$pkgdir"/usr/src/gtest/src/ || return 1
+ install -m 0644 "$_builddir/CMakeLists.txt" "$pkgdir"/usr/src/gtest/ \
+ || return 1
+ install -m 0644 "$_builddir/cmake"/* "$pkgdir"/usr/src/gtest/cmake/ \
+ || return 1
}
md5sums="2d6ec8ccdf5c46b05ba54a9fd1d130d7 gtest-1.7.0.zip"