diff options
author | Issam E. Maghni | 2021-06-15 15:30:34 -0400 |
---|---|---|
committer | Issam E. Maghni | 2021-06-15 15:30:34 -0400 |
commit | 1b4f7c2bc0f8587d464e3fc50848a72d7a2fb008 (patch) | |
tree | d760a88db923315424de3a7a7d3fb0cae2f57c8a /PKGBUILD | |
parent | 5f0df87f459d899d0980d4cabaa0d3e2bdc57f33 (diff) | |
download | aur-bearssl.tar.gz |
Fix include directory
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=bearssl pkgver=0.6 -pkgrel=3 +pkgrel=4 pkgdesc='Implementation of the SSL/TLS protocol (RFC 5246) written in C' arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url='https://bearssl.org' @@ -26,14 +26,15 @@ check() { } package() { - mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/lib" "${pkgdir}/usr/share/licenses/${pkgname}" # "${pkgdir}/usr/include/${pkgname}" + mkdir -p "${pkgdir}/usr/bin" "${pkgdir}/usr/include" "${pkgdir}/usr/lib" "${pkgdir}/usr/share/licenses/${pkgname}" cd "./${pkgname}-${pkgver}/build" # ideally, we should encapsulate headers in a namespace, but not now #sed -i 's|"bearssl_|"bearssl/|g' ../inc/* + #mkdir "${pkgdir}/usr/include/${pkgname}" cp '../inc/bearssl.h' "${pkgdir}/usr/include" for h in ../inc/*; do - cp "$h" "${pkgdir}/usr/include" # "${pkgdir}/usr/include/bearssl/${h#*_}" + cp "$h" "${pkgdir}/usr/include" # "${pkgdir}/usr/include/${pkgname}/${h#*_}" done cp '../LICENSE.txt' "${pkgdir}/usr/share/licenses/${pkgname}" |