diff options
Diffstat (limited to 'community/prelink/PKGBUILD')
-rw-r--r-- | community/prelink/PKGBUILD | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/community/prelink/PKGBUILD b/community/prelink/PKGBUILD index f50b40811..3df6d5eac 100644 --- a/community/prelink/PKGBUILD +++ b/community/prelink/PKGBUILD @@ -1,35 +1,34 @@ -# $Id: PKGBUILD 96818 2013-09-05 20:51:50Z eric $ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# $Id: PKGBUILD 111908 2014-05-26 14:42:43Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: 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 +pkgrel=2 pkgdesc='ELF prelinking utility to speed up dynamic linking' -arch=('i686' 'x86_64') +arch=('x86_64' 'i686') 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') +makedepends=('elfutils' 'libtool') +source=("http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2") +sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0') build() { - cd ${pkgname} - ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin + cd "$pkgname" + + ./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin --disable-static --with-gnu-ld make } check() { - cd ${pkgname} - make check + make -C "$pkgname" check } package() { - cd ${pkgname} - make DESTDIR="${pkgdir}" install - install -Dm0644 "${srcdir}/prelink.conf" "${pkgdir}/etc/prelink.conf" + make -C "$pkgname" DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: |