mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
vcflib: use tabixpp as makedepends, update lilac
tabixpp: update FHS
This commit is contained in:
parent
0585bd7d3c
commit
4641d5409c
3 changed files with 12 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=tabixpp
|
||||
_pkgver=1.1.1
|
||||
pkgver=1.1.1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="C++ wrapper to tabix indexer"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ekg/tabixpp"
|
||||
|
@ -21,7 +21,8 @@ build() {
|
|||
|
||||
package() {
|
||||
cd $srcdir/"$pkgname"-${pkgver}
|
||||
install -Dm 755 tabix.hpp $pkgdir/usr/include/tabix.hpp
|
||||
install -Dm 755 tabix.hpp $pkgdir/usr/include/tabix/tabix.hpp
|
||||
install -Dm 755 tabix.cpp $pkgdir/usr/include/tabix/tabix.cpp
|
||||
install -Dm 755 tabix++ $pkgdir/usr/bin/tabix++
|
||||
|
||||
install -Dm 755 libtabix.so.1 ${pkgdir}/usr/lib/libtabix.so.1
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: Guoyi
|
||||
pkgname=vcflib
|
||||
pkgver=20220627.152412
|
||||
pkgrel=1
|
||||
pkgver=1.0.3
|
||||
pkgrel=3
|
||||
pkgdesc="C++ library and cmdline tools for parsing and manipulating VCF files doi: 10.1101/2021.05.21.445151"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/vcflib/vcflib"
|
||||
license=('MIT')
|
||||
depends=('python' 'htslib')
|
||||
makedepends=('git' 'cmake' 'make' 'pybind11'
|
||||
makedepends=('git' 'cmake' 'make' 'pybind11' 'tabixpp'
|
||||
'pandoc'
|
||||
)
|
||||
optdepends=('r: running R scripts'
|
||||
|
@ -24,7 +24,6 @@ source=("git+https://github.com/vcflib/vcflib.git"
|
|||
"git+https://github.com/ekg/multichoose.git"
|
||||
"git+https://github.com/ekg/smithwaterman.git"
|
||||
"simde::git+https://github.com/simd-everywhere/simde-no-tests.git"
|
||||
"https://github.com/vcflib/tabixpp/archive/refs/tags/v1.1.1.tar.gz"
|
||||
)
|
||||
|
||||
md5sums=('SKIP'
|
||||
|
@ -36,24 +35,25 @@ md5sums=('SKIP'
|
|||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'6441f3e3bbeb6c642edc7dea1c4cf8c3')
|
||||
'SKIP')
|
||||
|
||||
prepare(){
|
||||
cd ${srcdir}
|
||||
cp -rf WFA2-lib/* ${pkgname}/contrib/WFA2-lib
|
||||
cp -rf tabixpp-1.1.1/* ${pkgname}/contrib/tabixpp
|
||||
cp -rf fastahack-1.0.0 fastahack
|
||||
for module in {fastahack,filevercmp,fsom,intervaltree,libVCFH,multichoose,smithwaterman}; do
|
||||
cp -rf ${module}/* ${pkgname}/${module}
|
||||
done
|
||||
cd ${pkgname}
|
||||
sed -i 's| contrib/tabixpp/tabix.cpp|/usr/include/tabix/tabix.cpp|g' CMakeLists.txt
|
||||
sed -i 's|<tabix.hpp>|<tabix/tabix.hpp>|g' src/Variant.h
|
||||
}
|
||||
build() {
|
||||
cd $srcdir/${pkgname}
|
||||
install -d build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||
make PREFIX=/usr HTS_HEADERS=/usr/include/htslib HTS_LIB=/usr/lib/libhts.so
|
||||
cmake --build . -- PREFIX=/usr HTS_HEADERS=/usr/include/htslib HTS_LIB=/usr/lib/libhts.so
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -9,3 +9,4 @@ repo_depends:
|
|||
update_on:
|
||||
- source: github
|
||||
github: vcflib/vcflib
|
||||
use_max_tag: true
|
||||
|
|
Loading…
Add table
Reference in a new issue