[arch-commits] Commit in strace/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Nov 14 17:54:35 UTC 2017


    Date: Tuesday, November 14, 2017 @ 17:54:34
  Author: anatolik
Revision: 309924

archrelease: copy trunk to testing-x86_64

Added:
  strace/repos/testing-x86_64/
  strace/repos/testing-x86_64/PKGBUILD
    (from rev 309923, strace/trunk/PKGBUILD)

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

Copied: strace/repos/testing-x86_64/PKGBUILD (from rev 309923, strace/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-11-14 17:54:34 UTC (rev 309924)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=strace
+pkgver=4.20
+pkgrel=1
+pkgdesc='A diagnostic, debugging and instructional userspace tracer'
+arch=(i686 x86_64)
+url='http://sourceforge.net/projects/strace/'
+license=(BSD)
+depends=(perl libunwind)
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.xz{,.asc})
+md5sums=('f2271ab0fac49ebee9cbd7f3469227cb'
+         'SKIP')
+validpgpkeys=('296D6F29A020808E8717A8842DB5BD89A340AEB7') # Dmitry V. Levin <ldv at altlinux.org>
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+    --with-libunwind
+  make
+}
+
+check() {
+  # tests do not work in chroot environment. TODO: fixit.
+  # make -C $pkgname-$pkgver check
+  true
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list