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

Anatol Pomozov anatolik at archlinux.org
Mon Jul 15 20:08:07 UTC 2019


    Date: Monday, July 15, 2019 @ 20:08:07
  Author: anatolik
Revision: 358023

archrelease: copy trunk to testing-x86_64

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

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

Copied: strace/repos/testing-x86_64/PKGBUILD (from rev 358022, strace/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-07-15 20:08:07 UTC (rev 358023)
@@ -0,0 +1,34 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=strace
+pkgver=5.2
+pkgrel=1
+pkgdesc='A diagnostic, debugging and instructional userspace tracer'
+arch=(x86_64)
+url='https://strace.io/'
+license=(BSD)
+depends=(perl libunwind)
+source=(https://github.com/strace/strace/releases/download/v$pkgver/strace-$pkgver.tar.xz{,.asc})
+sha1sums=('64eb4d62f055bde0c6b00be3137c5cae64e16841'
+          '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