diff options
author | Vadim Yanitskiy | 2023-09-04 02:05:40 +0700 |
---|---|---|
committer | Vadim Yanitskiy | 2023-09-04 02:05:40 +0700 |
commit | 59366270d64022529ce42104ca1322a97aa3f132 (patch) | |
tree | 43d59900c0dec416831c4e72a62c431b7a37bf12 | |
parent | 53f66571b250c86e9e4ad51358c0c8cd63de47f3 (diff) | |
download | aur-59366270d64022529ce42104ca1322a97aa3f132.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-hg pkgdesc = FreeCalypso GSM codec libraries and utilities pkgver = r251.946849291027 - pkgrel = 1 + pkgrel = 2 url = https://www.freecalypso.org/hg/gsm-codec-lib arch = x86_64 arch = i686 @@ -4,7 +4,7 @@ _hgname=gsm-codec-lib _pkgname=freecalypso-gsm-codec-lib pkgname="${_pkgname}-hg" pkgver=r251.946849291027 -pkgrel=1 +pkgrel=2 pkgdesc="FreeCalypso GSM codec libraries and utilities" arch=('x86_64' 'i686') url="https://www.freecalypso.org/hg/${_hgname}" @@ -41,4 +41,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/" } |