Package Details: bamtools 2.5.2-1

Git Clone URL: https://aur.archlinux.org/bamtools.git (read-only, click to copy)
Package Base: bamtools
Description: C++ API & command-line toolkit for working with BAM data
Upstream URL: https://github.com/pezmaster31/bamtools
Licenses: custom
Submitter: stratust
Maintainer: mys_721tx
Last Packager: mys_721tx
Votes: 3
Popularity: 0.000000
First Submitted: 2012-01-16 06:11 (UTC)
Last Updated: 2022-02-03 22:11 (UTC)

Required by (1)

Sources (1)

Latest Comments

wookietreiber commented on 2017-06-30 11:05 (UTC)

@confusedfla: this package installs /usr/include/bamtools/api/BamReader.h - the problem is, that you need to #include <bamtools/api/BamReader.h> i.e. whith angle brackets, not double quotes. Double quotes should be used only for headers *within* your project, see https://stackoverflow.com/questions/21593/what-is-the-difference-between-include-filename-and-include-filename

confusedfla commented on 2017-06-30 10:04 (UTC)

How about patching the paths, s.t. it can nicely included by default with e.g. "bamtools/api/Reader.h" and no include paths need to be provided manually? It would be as simple as adding this patching to the prepare(): sed -i "s/api\//bamtools\/api\//g" $(find $scrdir -name "*.h" -o -name "*.h") mkdir -p src/$pkgname [ ! -e src/$pkgname/api ] && ln -s $(realpath src/api) src/$pkgname/api