Date: Sunday, January 30, 2022 @ 11:08:07 Author: dvzrv Revision: 435461
upgpkg: elfutils 0.186-3: Rebuild to add distribution URL for debuginfod. Add the distribution's debuginfod to a drop-in file in /etc/debuginfod. Modified: elfutils/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-30 11:07:26 UTC (rev 435460) +++ PKGBUILD 2022-01-30 11:08:07 UTC (rev 435461) @@ -6,7 +6,7 @@ pkgbase=elfutils pkgname=(debuginfod elfutils libelf) pkgver=0.186 -pkgrel=2 +pkgrel=3 pkgdesc="Handle ELF object files and DWARF debugging information" arch=(x86_64) url="https://sourceware.org/elfutils/" @@ -79,10 +79,12 @@ libmicrohttpd.so sqlite) optdepends=("elfutils=${pkgver}-${pkgrel}: for translations") - cd "$pkgbase-$pkgver" - make DESTDIR="$pkgdir" install - install -vDm 644 {AUTHORS,ChangeLog,NEWS,NOTES,README} -t "${pkgdir}/usr/share/doc/${pkgname}" + make DESTDIR="$pkgdir" install -C "$pkgbase-$pkgver" + install -vDm 644 "$pkgbase-$pkgver/"{AUTHORS,ChangeLog,NEWS,NOTES,README} -t "${pkgdir}/usr/share/doc/${pkgname}" + # set the default DEBUGINFOD_URLS environment variable to the distribution's debuginfod URL + printf "https://debuginfod.archlinux.org\n" > "$pkgdir/etc/debuginfod/archlinux.urls" + ( cd "${pkgdir}"
