43 lines
1 KiB
Bash
43 lines
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=chrpath
|
|
pkgver=0.17
|
|
pkgrel=01
|
|
pkgdesc="Change or delete the rpath or runpath in ELF files"
|
|
url="https://codeberg.org/pere/chrpath"
|
|
depends=(glibc)
|
|
makedepends=(git)
|
|
source=("git+https://codeberg.org/pere/chrpath.git#tag=release-$pkgver")
|
|
|
|
prepare() {
|
|
cd "${srcdir}"/$pkgname
|
|
sh bootstrap
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}"/$pkgname
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/$pkgname
|
|
make DESTDIR="${pkgdir}" docdir=/usr/share/doc/chrpath install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL2')
|
|
|
|
sha256sums=(SKIP) # chrpath
|
|
|
|
## 5337a8a50dd0a6672fdcad8dad8d5a719392f41f16ec278abcc32c887c3513b6 chrpath-0.17-01-x86_64.pkg.tar.lz
|
|
|