🔒 Repository is read-only – file editing is disabled.

recipes/utils/libunwind/PAGBUILD.yaml main

22 linii Raw ← Powrót
12345678910111213141516171819202122
pkgname: libunwind
pkgver: '1.8.3'
pkgrel: 1
pkgdesc: Portable and efficient C programming interface (API) to determine the call-chain of a program
url: 'http://www.nongnu.org/libunwind/'
arch: x86_64
depends: []
makedepends:
- xz
source:
- 'https://github.com/libunwind/libunwind/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: "cd ${pkgname}-${pkgver}\nCFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common\n\n./configure\
  \ --prefix=/usr\nmake\nmake DESTDIR=${PKGDIR} install \n"
package: |
  # Obsolet libs
  rm -f ${PKGDIR}/usr/lib/libunwind-coredump.la
  rm -f ${PKGDIR}/usr/lib/libunwind-ptrace.la
  rm -f ${PKGDIR}/usr/lib/libunwind-setjmp.la
  rm -f ${PKGDIR}/usr/lib/libunwind-x86_64.la
  rm -f ${PKGDIR}/usr/lib/libunwind.la