summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordarkprof2019-08-08 12:36:52 +0500
committerdarkprof2019-08-08 12:36:52 +0500
commit3118b58e00eab1384aa6e428c1dcf3bbf83b937c (patch)
tree11975f44ebb62c40acbee4d968dc78b818efac2a
parent85ea6d2cd9a25a76ec3d43563c5e573c79a106ec (diff)
downloadaur-3118b58e00eab1384aa6e428c1dcf3bbf83b937c.tar.gz
Fixed make googletest
-rwxr-xr-xPKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 08b732c0e5d..1f6a25891db 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ source=("https://github.com/google/googletest/archive/release-${pkgver}.tar.gz")
sha512sums=('e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7')
build() {
- cd "googletest-release-${pkgver}"
+ cd "googletest-release-${pkgver}/googletest"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
@@ -28,9 +28,9 @@ build() {
}
package() {
- cd "googletest-release-${pkgver}"
+ cd "googletest-release-${pkgver}/googletest"
mkdir -pm 0755 "${pkgdir}/usr/lib32"
- install -m 644 googlemock/libgmock{,_main}.so "${pkgdir}"/usr/lib32
- install -m 644 googletest/libgtest{,_main}.so "${pkgdir}"/usr/lib32
+ #install -m 644 googlemock/libgmock{,_main}.so "${pkgdir}"/usr/lib32
+ install -m 644 libgtest{,_main}.so "${pkgdir}"/usr/lib32
}