Browse Source

[testing] -> [core] 'elfutils-0.176-1' move

master
artoo 5 months ago
parent
commit
bc86926633
Signed by: artoo <artoo@artixlinux.org> GPG Key ID: 3292CD0BB0DB310B
2 changed files with 4 additions and 57 deletions
  1. 4
    3
      elfutils/repos/core-x86_64/PKGBUILD
  2. 0
    54
      elfutils/repos/testing-x86_64/PKGBUILD

+ 4
- 3
elfutils/repos/core-x86_64/PKGBUILD View File

@@ -4,7 +4,7 @@

pkgbase=elfutils
pkgname=(elfutils libelf)
pkgver=0.175
pkgver=0.176
pkgrel=1
pkgdesc="Utilities to handle ELF object files and DWARF debugging information"
arch=('x86_64')
@@ -13,16 +13,17 @@ license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
options=('staticlibs')
source=(https://sourceware.org/elfutils/ftp/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
sha1sums=('361f835640ecffddc6d4543fb044eb53f673026f'
sha1sums=('6511203cae7225ae780501834a7ccd234b14889a'
'SKIP')
validpgpkeys=('47CC0331081B8BC6D0FD4DA08370665B57816A6A') # Mark J. Wielaard <mark@klomp.org>
validpgpkeys+=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard <mjw@gnu.org>

build() {
cd ${pkgbase}-${pkgver}

# fix make check with i686
# https://sourceware.org/bugzilla/show_bug.cgi?id=22083
export CFLAGS=${CFLAGS/-fno-plt} # fix make check with i686
# export CFLAGS=${CFLAGS/-fno-plt} # fix make check with i686

CFLAGS+=" -g" # required for test-suite success
./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives

+ 0
- 54
elfutils/repos/testing-x86_64/PKGBUILD View File

@@ -1,54 +0,0 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>

pkgbase=elfutils
pkgname=(elfutils libelf)
pkgver=0.176
pkgrel=1
pkgdesc="Utilities to handle ELF object files and DWARF debugging information"
arch=('x86_64')
url="https://sourceware.org/elfutils/"
license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
options=('staticlibs')
source=(https://sourceware.org/elfutils/ftp/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
sha1sums=('6511203cae7225ae780501834a7ccd234b14889a'
'SKIP')
validpgpkeys=('47CC0331081B8BC6D0FD4DA08370665B57816A6A') # Mark J. Wielaard <mark@klomp.org>
validpgpkeys+=('EC3CFE88F6CA0788774F5C1D1AA44BE649DE760A') # Mark Wielaard <mjw@gnu.org>

build() {
cd ${pkgbase}-${pkgver}

# fix make check with i686
# https://sourceware.org/bugzilla/show_bug.cgi?id=22083
# export CFLAGS=${CFLAGS/-fno-plt} # fix make check with i686

CFLAGS+=" -g" # required for test-suite success
./configure --prefix=/usr --program-prefix="eu-" --enable-deterministic-archives

make
}

check() {
cd ${pkgbase}-${pkgver}

make check
}

package_elfutils() {
depends=("libelf=$pkgver-$pkgrel")

cd ${pkgbase}-${pkgver}

make DESTDIR="${pkgdir}" install

mkdir "${srcdir}"/libelf
mv "${pkgdir}"/usr/{lib,include} "${srcdir}/libelf"
}

package_libelf() {
pkgdesc="Libraries to handle ELF object files and DWARF debugging information"
mv libelf "${pkgdir}/usr"
}

Loading…
Cancel
Save