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

recipes/core/libelf/PAGBUILD.yaml main

33 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233
pkgname: libelf
pkgver: '0.196'
pkgrel: '1'
pkgdesc: Elf librairy
url: 'https://sourceware.org/ftp/elfutils'
arch: x86_64
license:
- GPL2 GPL3 LGPL3
depends: []
makedepends:
- m4
- zstd
source:
- 'https://sourceware.org/ftp/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2'
sha256sums:
- fd5cc6b77ad6773cac93cb3f415f9318ac3b3455eecf801f6b4a742c4f6c7209
build: |
  cd elfutils-${pkgver}
  ./configure --prefix=/usr \
  --disable-debuginfod \
  --libdir=/lib
  make
  make check || true
  make -C libelf DESTDIR=${PKGDIR} install
  rm ${PKGDIR}/lib/libelf.a
  mkdir -pv ${PKGDIR}/usr/lib/pkgconfig
  install -vm644 config/libelf.pc ${PKGDIR}/usr/lib/pkgconfig/

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING
  install -Dm644 COPYING-GPLV2 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-GPLV2
  install -Dm644 COPYING-LGPLV3 ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING-LGPLV3
package: |
  true