[arch-commits] Commit in prelink/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Eric Bélanger eric at archlinux.org
Fri Apr 17 02:22:12 UTC 2009


    Date: Thursday, April 16, 2009 @ 22:22:11
  Author: eric
Revision: 35766

Merged revisions 356,35765 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/prelink/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r35765 | eric | 2009-04-16 22:21:55 -0400 (Thu, 16 Apr 2009) | 2 lines
  
  upgpkg: prelink 20060213-2
      Added license, FHS man pages
........

Modified:
  prelink/repos/extra-x86_64/	(properties)
  prelink/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)


Property changes on: prelink/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /prelink/trunk:1
   + /prelink/trunk:1-35765

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-04-17 02:21:55 UTC (rev 35765)
+++ extra-x86_64/PKGBUILD	2009-04-17 02:22:11 UTC (rev 35766)
@@ -4,10 +4,11 @@
 
 pkgname=prelink
 pkgver=20060213
-pkgrel=1
+pkgrel=2
 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=($url/$pkgname-$pkgver.tar.bz2 prelink.conf)
@@ -15,11 +16,11 @@
 
 
 build() {
-  cd $startdir/src/$pkgname
-  ./configure --prefix=/usr
-  /usr/bin/make || return 1
-  /usr/bin/make prefix=$startdir/pkg/usr install
-  /bin/install -D -m 0644 $startdir/src/prelink.conf \
-      $startdir/pkg/etc/prelink.conf
+  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
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list