summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2023-06-25 18:21:16 -0300
committerGonzalo Exequiel Pedone2023-06-25 18:21:16 -0300
commit6af41be1303f463da5c7579025febee1e4004e03 (patch)
tree1c21ae08811ac5d4f9bfbceb52a7d9a4bccd1dcf
parent7d0aecae6e493f4dfb83dc2015dd86cbb8d8030d (diff)
downloadaur-6af41be1303f463da5c7579025febee1e4004e03.tar.gz
Fixed libssl and libcrypto paths.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fc66e86200ff..16bb15017002 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-aarch64-libssh
pkgdesc = Library for accessing ssh client services through C libraries (android)
pkgver = 0.9.6
- pkgrel = 1
+ pkgrel = 2
url = https://www.libssh.org/
arch = any
groups = android-libssh
diff --git a/PKGBUILD b/PKGBUILD
index 25660811a043..7ad11d8241c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ _android_arch=aarch64
pkgname=android-${_android_arch}-libssh
pkgver=0.9.6
-pkgrel=1
+pkgrel=2
arch=('any')
pkgdesc="Library for accessing ssh client services through C libraries (android)"
license=('LGPL')
@@ -44,8 +44,8 @@ build() {
source android-env ${_android_arch}
version=$(cat ${ANDROID_PREFIX_INCLUDE}/openssl/opensslv.h | grep "OPENSSL_VERSION_TEXT" | sed 's/^[^\"]*"OpenSSL //' | sed 's/ .*$//')
- libssl=$(ls ${ANDROID_PREFIX_LIB}/libssl_*.so)
- libcrypto=$(ls ${ANDROID_PREFIX_LIB}/libcrypto_*.so)
+ libssl=${ANDROID_PREFIX_LIB}/libssl.so
+ libcrypto=${ANDROID_PREFIX_LIB}/libcrypto.so
#static build
mkdir -p "${srcdir}"/build-static && cd "${srcdir}"/build-static