summaryrefslogtreecommitdiff
path: root/community/chrpath/PKGBUILD
blob: 65b6a3c86b14292e9963a49e7edb66321f98b410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>

pkgname=chrpath
pkgver=0.13
pkgrel=2
pkgdesc="Change or delete the rpath or runpath in ELF files"
arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/chrpath"
license=('GPL2')
depends=('glibc')
source=(http://ftp.debian.org/debian/pool/main/c/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz)
md5sums=('b73072a8fbba277558c50364b65bb407')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr --mandir=/usr/share/man
  make || return 1
  make DESTDIR=$pkgdir docdir=/usr/share/doc/chrpath install
}