Package Details: blktrace-git 1.0-1

Git Clone URL: (read-only, click to copy)
Package Base: blktrace-git
Description: Userspace utilities for tracing Linux block layer I/O - Git version
Upstream URL:
Licenses: GPL2
Submitter: adam900710
Maintainer: None
Last Packager: adam900710
Votes: 1
Popularity: 0.000000
First Submitted: 2017-04-18 06:06 (UTC)
Last Updated: 2017-04-18 06:06 (UTC)

Latest Comments

jamespharvey20 commented on 2019-09-07 01:45 (UTC) (edited on 2019-09-07 02:06 (UTC) by jamespharvey20)

A patch for PKGBUILD for your consideration.

(It doesn't prevent parallel builds, because the git repo contains a fix for the race condition, unlike release 1.2.0.)

It installs the README file, and builds and installs PDF documentation. The PDF documentation includes critical information the manpages leave out, including some of the column meanings. Sadly, the PDF documentation does not show it has been updated since 2008, so is a bit outdated, but much of it is still relevant.

It also adds git to makedepends(), which is required to download the source.

(NOTE the comments here have an unintended feature/bug, so the index line has the first git commit 1ab.. replaced with a link to a non-existing commit id on this repo. It's also putting < and > around source.)

diff --git a/PKGBUILD b/PKGBUILD
index [`1ab64ef`]( 100644
@@ -1,12 +1,13 @@
 pkgdesc="Userspace utilities for tracing Linux block layer I/O - Git version"
 arch=(i686 x86_64)
+makedepends=('git' 'texlive-core' 'texlive-latexextra')

@@ -17,10 +18,13 @@ pkgver() {

 build() {
   cd "$srcdir/${_name}"
+  make docs

 package() {
   cd "$srcdir/${_name}"
   make prefix=/usr mandir=/usr/share/man DESTDIR=$pkgdir/ install
+  install -Dm644 README "${pkgdir}/usr/share/docs/${pkgname}/README"
+  install -Dm644 doc/blktrace.pdf "${pkgdir}/usr/share/docs/${pkgname}/blktrace.pdf"