summaryrefslogtreecommitdiff
path: root/community/patchelf
diff options
context:
space:
mode:
Diffstat (limited to 'community/patchelf')
-rw-r--r--community/patchelf/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/patchelf/PKGBUILD b/community/patchelf/PKGBUILD
new file mode 100644
index 000000000..f4d3db980
--- /dev/null
+++ b/community/patchelf/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 110205 2014-04-26 22:57:34Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: xduugu
+
+pkgname=patchelf
+pkgver=0.8
+pkgrel=1
+pkgdesc="A small utility to modify the dynamic linker and RPATH of ELF executables"
+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')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: