[arch-commits] Commit in prelink/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Tue Jun 22 13:59:57 EDT 2010


    Date: Tuesday, June 22, 2010 @ 13:59:57
  Author: andrea
Revision: 83726

upgpkg: prelink 20100106-1
upstream release

Modified:
  prelink/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-22 17:58:32 UTC (rev 83725)
+++ PKGBUILD	2010-06-22 17:59:57 UTC (rev 83726)
@@ -1,27 +1,32 @@
 # $Id$
-# Maintainer: Juergen Hoetzel <juergen at archlinux.org>
+# Maintainer:
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Rouslan Solomakhin <rouslan at localnet.com>
 
 pkgname=prelink
-pkgver=20091104
+pkgver=20100106
 pkgrel=1
-pkgdesc="ELF prelinking utility to speed up dynamic linking."
+pkgdesc="ELF prelinking utility to speed up dynamic linking"
 arch=('i686' 'x86_64')
 url="http://people.redhat.com/jakub/prelink/"
 license=('GPL')
 depends=('libelf')
-backup=(etc/prelink.conf)
-source=(http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-        prelink.conf)
-md5sums=('ed9a1ba2960bad7e266497e308f863ae'
+backup=('etc/prelink.conf')
+source=("http://people.redhat.com/jakub/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+        'prelink.conf')
+md5sums=('56e2a1b5a478795352bf6e4d2bc6e0ab'
          '0793ed49e9b31c125cba4d936c333cf6')
 
 build() {
   cd "${srcdir}/${pkgname}"
 
   ./configure --prefix=/usr \
-              --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
-  install -D -m 0644 ${srcdir}/prelink.conf "${pkgdir}/etc/prelink.conf" || return 1
+              --mandir=/usr/share/man
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR=$pkgdir install
+  install -Dm644 ${srcdir}/prelink.conf "${pkgdir}/etc/prelink.conf"
+}



More information about the arch-commits mailing list