🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435
pkgname: libassuan
pkgver: '3.0.2'
pkgrel: 2
pkgdesc: Contains an IPC library used by some of the other GnuPG related packages
url: 'https://www.gnupg.org/related_software/libassuan/'
arch: x86_64
depends: []
makedepends:
- libgpg-error
source:
- 'https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2'
sha256sums:
- d2931cdad266e633510f9970e1a2f346055e351bb19f9b78912475b8074c36f6
build: |
cd ${pkgname}-${pkgver}
# Upstream 3.0.1 renamed the ELF symbol-version namespace
# LIBASSUAN_1.0 -> LIBASSUAN_2.0 (to help Debian's transition). The PaganOS
# base userspace (Arch's pacman/libgpgme/gnupg 2.4.x) links against
# LIBASSUAN_1.0, so keep the old namespace to stay ABI compatible, while
# still benefiting from the 3.0.2 header fix (ASSUAN_NO_NPTH_SYSTEM_HOOKS
# was misspelled "#defined" in 3.0.0 and broke gnupg 2.5.x builds).
sed -i 's/^LIBASSUAN_2\.0 {/LIBASSUAN_1.0 {/' src/libassuan.vers
./configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=${PKGDIR} install
# Obsolet lib
rm -f ${PKGDIR}/usr/lib/libassuan.la
package: |
true