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

Levente Polyak anthraxx at archlinux.org
Fri May 27 16:17:35 UTC 2016


    Date: Friday, May 27, 2016 @ 18:17:35
  Author: anthraxx
Revision: 177302

upgpkg: patchelf 0.9-1

Modified:
  patchelf/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-27 15:43:51 UTC (rev 177301)
+++ PKGBUILD	2016-05-27 16:17:35 UTC (rev 177302)
@@ -1,28 +1,37 @@
-# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
 # Contributor: xduugu
 
 pkgname=patchelf
-pkgver=0.8
-pkgrel=2
-pkgdesc="A small utility to modify the dynamic linker and RPATH of ELF executables"
+pkgver=0.9
+pkgrel=1
+pkgdesc='Small utility to modify the dynamic linker and RPATH of ELF executables'
+url='https://nixos.org/patchelf.html'
 arch=('i686' 'x86_64')
-url="http://nixos.org/patchelf.html"
 license=('GPL3')
 depends=('gcc-libs')
-source=("http://releases.nixos.org/patchelf/patchelf-0.8/patchelf-0.8.tar.gz")
-md5sums=('407b229e6a681ffb0e2cdd5915cb2d01')
-sha256sums=('14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/NixOS/patchelf/archive/${pkgver}.tar.gz)
+sha512sums=('70e615f2f705f413aab5e3eebe20ffe79743bb92381b10a8faa49f16ca24b0f9bd4095c5644f682ec94d75012ffb1b39837933faa9f3c1f1c41bdc5b9d010a30')
 
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
 build() {
-  cd "$pkgname-$pkgver"
-
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
+check() {
+  cd ${pkgname}-${pkgver}
+  make -C tests -j1 check
+}
+
 package() {
-  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir/" install
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list