David Runge pushed to branch main at Arch Linux / Packaging / Packages / libffi
Commits: 93f1110a by David Runge at 2025-04-10T09:48:02+02:00 Track upstream VCS url in custom variable for easier access Signed-off-by: David Runge <dv...@archlinux.org> - - - - - 4cbb5fe9 by David Runge at 2025-04-11T23:24:47+02:00 Switch to auto-generated source tarballs for better transparency Remove a broken m4 file that prevents building from source. https://github.com/libffi/libffi/issues/853 Signed-off-by: David Runge <dv...@archlinux.org> - - - - - 22b907b8 by David Runge at 2025-04-11T23:28:40+02:00 upgpkg: 3.4.8-1 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = libffi pkgdesc = Portable foreign function interface library - pkgver = 3.4.7 + pkgver = 3.4.8 pkgrel = 1 url = https://sourceware.org/libffi/ arch = x86_64 @@ -8,8 +8,8 @@ pkgbase = libffi checkdepends = dejagnu depends = glibc provides = libffi.so - source = https://github.com/libffi/libffi/releases/download/v3.4.7/libffi-3.4.7.tar.gz - sha256sums = 138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d - b2sums = 0dd17b4fd358beb9842889168437443137445a5dba1f0a7e8669ae420d8efb927815c08602c1b1b141acfdfdbaa12b417863402a5c8df5f36519fd3e772d3f37 + source = libffi-3.4.8.tar.gz::https://github.com/libffi/libffi/archive/refs/tags/v3.4.8.tar.gz + sha256sums = cbb7f0b3b095dc506387ec1e35b891bfb4891d05b90a495bc69a10f2293f80ff + b2sums = e01f46e0048c1805dd8a7c293c482aaa2906c0c94b76f3624ebbdccd3a7775f322c832329d270c0aaf620b5a3d7f12b498864af478955cdcbf079fc5d31443a7 pkgname = libffi ===================================== PKGBUILD ===================================== @@ -5,18 +5,28 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=libffi -pkgver=3.4.7 +pkgver=3.4.8 pkgrel=1 pkgdesc='Portable foreign function interface library' arch=(x86_64) url='https://sourceware.org/libffi/' +_url="https://github.com/libffi/libffi" license=(MIT) depends=(glibc) checkdepends=(dejagnu) provides=(libffi.so) -source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz) -sha256sums=('138607dee268bdecf374adf9144c00e839e38541f75f24a1fcf18b78fda48b2d') -b2sums=('0dd17b4fd358beb9842889168437443137445a5dba1f0a7e8669ae420d8efb927815c08602c1b1b141acfdfdbaa12b417863402a5c8df5f36519fd3e772d3f37') +source=($pkgname-$pkgver.tar.gz::$_url/archive/refs/tags/v$pkgver.tar.gz) +sha256sums=('cbb7f0b3b095dc506387ec1e35b891bfb4891d05b90a495bc69a10f2293f80ff') +b2sums=('e01f46e0048c1805dd8a7c293c482aaa2906c0c94b76f3624ebbdccd3a7775f322c832329d270c0aaf620b5a3d7f12b498864af478955cdcbf079fc5d31443a7') + +prepare() { + # remove broken m4 stuff: https://github.com/libffi/libffi/issues/853 + rm -v $pkgname-$pkgver/m4/ax_enable_builddir.m4 + + cd $pkgname-$pkgver + autoreconf -fiv + +} build() { local configure_options=( View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libffi/-/compare/72245562dc5530f85c3e393d08585b63c901d9b0...22b907b8940b8c985537c2d39b465a7260a7a87f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/libffi/-/compare/72245562dc5530f85c3e393d08585b63c901d9b0...22b907b8940b8c985537c2d39b465a7260a7a87f You're receiving this email because of your account on gitlab.archlinux.org.