summaryrefslogtreecommitdiffstats
path: root/abs/extra/strace/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 20:03:32 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 20:03:32 (GMT)
commitbe5265a6fbad290bddfae4181a2ff093e1d273fb (patch)
treef334b860e1af80a7fbf7e23df36a87529f083690 /abs/extra/strace/PKGBUILD
parente1da8f3a5c013b91a66645790b637a2bed9335eb (diff)
downloadlinhes_pkgbuild-be5265a6fbad290bddfae4181a2ff093e1d273fb.zip
linhes_pkgbuild-be5265a6fbad290bddfae4181a2ff093e1d273fb.tar.gz
linhes_pkgbuild-be5265a6fbad290bddfae4181a2ff093e1d273fb.tar.bz2
strace: Bump to latest.
Diffstat (limited to 'abs/extra/strace/PKGBUILD')
-rw-r--r--abs/extra/strace/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/extra/strace/PKGBUILD b/abs/extra/strace/PKGBUILD
index c965f24..5a33af7 100644
--- a/abs/extra/strace/PKGBUILD
+++ b/abs/extra/strace/PKGBUILD
@@ -1,21 +1,27 @@
-# $Id: PKGBUILD 13699 2008-09-27 22:25:37Z giovanni $
+# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
pkgname=strace
-pkgver=4.5.18
+pkgver=4.6
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
arch=('i686' 'x86_64')
-license=('custom')
url="http://sourceforge.net/projects/strace/"
-depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/strace/strace-$pkgver.tar.bz2)
-md5sums=('e9449fcee97e6a8ed73934c883c870e0')
+license=('custom')
+depends=('perl')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
+md5sums=('e537b2b1afeec70c0e6e27a0d0fd671e')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$startdir/pkg install
- install -Dm644 COPYRIGHT ${startdir}/pkg/usr/share/licenses/strace/COPYRIGHT
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install
+
+ install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}