46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=patchelf
|
|
pkgver=0.18.0
|
|
pkgrel=01
|
|
pkgdesc='Small utility to modify the dynamic linker and RPATH of ELF executables'
|
|
url='https://nixos.org/patchelf.html'
|
|
depends=('gcc-libs')
|
|
source=(https://github.com/NixOS/patchelf/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
|
|
|
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
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('GPL3')
|
|
|
|
sha256sums=(1451d01ee3a21100340aed867d0b799f46f0b1749680028d38c3f5d0128fb8a7) # patchelf-0.18.0.tar.gz
|
|
|
|
## 4f7a7afb3df956058508c5c32a7f166a3c1e15a104a8a7db32f803ccdefc5299 patchelf-0.18.0-01-x86_64.pkg.tar.lz
|