diff options
author | Vadim Yanitskiy | 2023-09-04 02:02:52 +0700 |
---|---|---|
committer | Vadim Yanitskiy | 2023-09-04 02:04:01 +0700 |
commit | d68fb70412e8fcf3196a79c37d447e9c263c26a3 (patch) | |
tree | 1ea444fc8f8545425a1af9963cb61cbbc603f322 | |
parent | ceddaaa6db7c5836f677937a91f53ed60013f6c8 (diff) | |
download | aur-d68fb70412e8fcf3196a79c37d447e9c263c26a3.tar.gz |
package(): install header files to '/usr/include/gsm/'
https://www.freecalypso.org/pipermail/community/2023-September/000892.html
https://www.freecalypso.org/pipermail/community/2023-September/000895.html
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = freecalypso-gsm-codec-lib pkgdesc = FreeCalypso GSM codec libraries and utilities pkgver = r2 - pkgrel = 2 + pkgrel = 3 url = https://www.freecalypso.org/hg/gsm-codec-lib arch = x86_64 arch = i686 @@ -3,7 +3,7 @@ _hgname=gsm-codec-lib pkgname="freecalypso-${_hgname}" pkgver=r2 -pkgrel=2 +pkgrel=3 pkgdesc="FreeCalypso GSM codec libraries and utilities" arch=('x86_64' 'i686') url="https://www.freecalypso.org/hg/${_hgname}" @@ -36,4 +36,11 @@ package() { # DESTDIR is not respected, use INSTALL_PREFIX and INSTBIN instead make INSTALL_PREFIX="${pkgdir}/usr" install-lib make INSTBIN="${pkgdir}/opt/freecalypso/bin" install-utils + + # For the sake of consistency with the 'gsm' package, move all header files + # to '/usr/include/gsm'. This problem was discussed here: + # https://www.freecalypso.org/pipermail/community/2023-September/000892.html + # https://www.freecalypso.org/pipermail/community/2023-September/000895.html + install -d "${pkgdir}/usr/include/gsm" + mv ${pkgdir}/usr/include/*.h "${pkgdir}/usr/include/gsm/" } |