summaryrefslogtreecommitdiff
path: root/community/prelink/PKGBUILD
blob: f50b40811578f226e1a14077d439586dedc2d788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $Id: PKGBUILD 96818 2013-09-05 20:51:50Z eric $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Rouslan Solomakhin <rouslan@localnet.com>

pkgname=prelink
pkgver=20130503
pkgrel=1
pkgdesc='ELF prelinking utility to speed up dynamic linking'
arch=('i686' 'x86_64')
url='http://people.redhat.com/jakub/prelink/'
license=('GPL')
depends=('elfutils')
backup=('etc/prelink.conf')
source=("http://people.redhat.com/jakub/prelink/${pkgname}-${pkgver}.tar.bz2"
        'prelink.conf')
sha1sums=('eff86cb26f0cc174486769527286cc388d5216b0'
          'b83bd2d3505076151aa13d40de3d5c08a04440c7')

build() {
  cd ${pkgname}
  ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
  make
}

check() {
  cd ${pkgname}
  make check
}

package() {
  cd ${pkgname}
  make DESTDIR="${pkgdir}" install
  install -Dm0644 "${srcdir}/prelink.conf" "${pkgdir}/etc/prelink.conf"
}