jobextra/patchelf/PKGBUILD-arch

40 lines
1.1 KiB
Plaintext

# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: xduugu
pkgname=patchelf
pkgver=0.18.0
pkgrel=1
pkgdesc='Small utility to modify the dynamic linker and RPATH of ELF executables'
url='https://nixos.org/patchelf.html'
arch=('x86_64')
license=('GPL3')
depends=('gcc-libs')
source=(https://github.com/NixOS/patchelf/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('6a917d7336b1e8c59f42d4cd1dc725df1378d77657fce13cb31547da1d4805b9df8a834a7b8408fda8aa1dbeb37d0cdca74d8698844ea2f44149f800b802dea6')
b2sums=('e6ce4ec3bd89c280bb37230dbeb566b803f09900006e79f7dba74f138f66e17746d331baea4def6a43163024b3d86aa8dbac9b2c6545ac146298a8b84373d03b')
prepare() {
cd ${pkgname}-${pkgver}
autoreconf -fiv
}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${pkgname}-${pkgver}
make -C tests -j1 check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
# vim: ts=2 sw=2 et: