Merge pull request #186 from radioflash/master

Fix libsodium path mismatch when extracting sources
This commit is contained in:
Martchus 2024-06-18 13:27:09 +02:00 committed by GitHub
commit db43a59826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
_realname=libsodium
pkgname="mingw-w64-${_realname}"
pkgver=1.0.20
pkgrel=1
pkgrel=2
pkgdesc="A modern, portable, easy to use crypto library (mingw-w64)"
arch=(any)
url="https://github.com/jedisct1/libsodium"
@ -27,7 +27,7 @@ build() {
for _arch in ${_architectures}; do
mkdir -p "${srcdir}"/build-${_arch} && cd "${srcdir}"/build-${_arch}
${_arch}-configure ../${_realname}-stable
${_arch}-configure ../${_realname}-${pkgver}
make
done
@ -45,6 +45,6 @@ package() {
rm -rf "${pkgdir}/usr/${_arch}/share"
done
install -Dm644 ${srcdir}/${_realname}-stable/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 ${srcdir}/${_realname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}