mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
btllib: init
This commit is contained in:
parent
dab465c0d4
commit
489231dc2f
2 changed files with 46 additions and 0 deletions
29
BioArchLinux/btllib/PKGBUILD
Normal file
29
BioArchLinux/btllib/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
pkgname=btllib
|
||||
pkgver=1.6.0
|
||||
pkgrel=0
|
||||
pkgdesc="Bioinformatics Technology Lab common code library https://doi.org/10.21105/joss.04720"
|
||||
arch=(any)
|
||||
url="https://github.com/bcgsc/btllib"
|
||||
license=(GPL3)
|
||||
depends=('gcc-libs' 'samtools' 'python')
|
||||
makedepends=('meson' 'ninja' 'cmake' 'git' 'doxygen' 'swig')
|
||||
source=("git+$url.git#tag=v$pkgver")
|
||||
md5sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/$pkgname
|
||||
git submodule update --init --recursive
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname
|
||||
#CXXFLAGS="${CXXFLAGS} -std=c++14"
|
||||
arch-meson build \
|
||||
--buildtype release
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname
|
||||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
}
|
17
BioArchLinux/btllib/lilac.yaml
Normal file
17
BioArchLinux/btllib/lilac.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_aur_repo()
|
||||
repo_depends:
|
||||
- samtools
|
||||
update_on:
|
||||
- source: github
|
||||
github: bcgsc/btllib
|
||||
use_max_tag: true
|
||||
prefix: 'v'
|
Loading…
Add table
Reference in a new issue