summaryrefslogtreecommitdiff
path: root/extra/ltrace/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-12 01:31:01 -0800
committerroot <root@rshg054.dnsready.net>2012-11-12 01:31:01 -0800
commitb863c91c6c9218e2ad9458231b24385be177ed08 (patch)
treeda88c798b067fd2af9ad0c2237917826cef02c8e /extra/ltrace/PKGBUILD
parentc1c596c922f0dc8622339011db936c531647203d (diff)
Mon Nov 12 01:30:54 PST 2012
Diffstat (limited to 'extra/ltrace/PKGBUILD')
-rw-r--r--extra/ltrace/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/extra/ltrace/PKGBUILD b/extra/ltrace/PKGBUILD
index 6101195a7..d2ceb9a2c 100644
--- a/extra/ltrace/PKGBUILD
+++ b/extra/ltrace/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 146208 2012-01-06 03:36:04Z foutrelis $
+# $Id: PKGBUILD 170791 2012-11-11 15:22:36Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ltrace
-pkgver=0.6.0
+pkgver=0.7.0
pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
arch=('i686' 'x86_64')
@@ -12,18 +12,12 @@ url="http://ltrace.alioth.debian.org/"
license=('GPL')
depends=('elfutils')
backup=('etc/ltrace.conf')
-source=(http://dev.archlinux.org/~foutrelis/sources/ltrace/$pkgname-$pkgver.tar.xz
- fix-crash-on-int3-after-symcall.patch)
-sha256sums=('13e4a66aa1f2ad23fd4ddd7faa79c52a68f210155eeb6490ce421f2a07fa0706'
- 'ef2c33c94b5cbfc552e5e734ac5627918ace918f48db5d3f29f1c0dcb1732d04')
+source=(https://alioth.debian.org/frs/download.php/3822/$pkgname-$pkgver.tar.bz2)
+sha256sums=('5438ce286f072f0e0448db046657466f9bd142600013329063aecf7cf809fd10')
build() {
cd "$srcdir/$pkgname-$pkgver"
- # Fix FS#27250: SIGSEGV due to int3 right after a call instruction
- patch -Np1 -i "$srcdir/fix-crash-on-int3-after-symcall.patch"
-
- ./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc
@@ -34,6 +28,10 @@ package(){
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+
+ # ltrace.conf.5 needs to be installed to man5 (fixed in upstream git repo)
+ install -d "$pkgdir/usr/share/man/man5"
+ mv "$pkgdir/usr/share/man/man"{1/ltrace.conf.1,5/ltrace.conf.5}
}
# vim:set ts=2 sw=2 et: