# Maintainer: Jesus E. pkgname=chrpath pkgver=0.16 pkgrel=3 pkgdesc="Change or delete the rpath or runpath in ELF files" arch=('i686' 'x86_64') url='https://directory.fsf.org/project/chrpath/' license=('GPL-2') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://deb.debian.org/debian/pool/main/c/chrpath/chrpath_$pkgver.orig.tar.gz") sha512sums=('aa04d490f78bff20a56fe20539cec10218c0772a668909eda8324ca825f51e8ef92001e95d9c316e79a145a043c9c327ec94d1a82e104ab408ca1021832745aa') build() { cd "${srcdir}"/$pkgname-$pkgver ./configure \ --prefix=/usr \ --mandir=/usr/share/man make } package() { cd "${srcdir}"/$pkgname-$pkgver make DESTDIR="${pkgdir}" docdir=/usr/share/doc/chrpath install install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname} }