[arch-commits] Commit in prelink/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Tue Oct 1 13:58:31 UTC 2013
Date: Tuesday, October 1, 2013 @ 15:58:31
Author: arodseth
Revision: 97927
Adopted the PKGBUILD. Brush up.
Modified:
prelink/trunk/PKGBUILD
----------+
PKGBUILD | 27 ++++++++++++++-------------
1 file changed, 14 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-01 13:07:24 UTC (rev 97926)
+++ PKGBUILD 2013-10-01 13:58:31 UTC (rev 97927)
@@ -1,35 +1,36 @@
# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Juergen Hoetzel <juergen at archlinux.org>
# Contributor: Rouslan Solomakhin <rouslan at 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')
+source=("http://people.redhat.com/jakub/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.conf")
+sha256sums=('6339c7605e9b6f414d1be32530c9c8011f38820d36431c8a62e8674ca37140f0'
+ 'c486ee7d2a39fad6b4ed49607eff5a81c9d07316b67b08b61af6008d010c4ad4')
build() {
- cd ${pkgname}
+ cd "$pkgname"
./configure --prefix=/usr --mandir=/usr/share/man --sbin=/usr/bin
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
+ install -Dm644 prelink.conf "$pkgdir/etc/prelink.conf"
}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list