diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-26 14:51:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-26 14:52:13 +0000 |
commit | f5cb7b24a30a90196206cb4222af356d26aa201c (patch) | |
tree | e7cafa475f94302f3205a3cdd5aacf427b068a58 /testing/gtest | |
parent | ffbda8d20f2d25dd2aa6d66296999e5f1470cfd5 (diff) | |
download | aports-f5cb7b24a30a90196206cb4222af356d26aa201c.tar.bz2 aports-f5cb7b24a30a90196206cb4222af356d26aa201c.tar.xz |
testing/gtest: fix packaging stage
Diffstat (limited to 'testing/gtest')
-rw-r--r-- | testing/gtest/APKBUILD | 23 |
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" |