mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
add bamtools
This commit is contained in:
parent
dec5617044
commit
33ec79f1aa
3 changed files with 59 additions and 0 deletions
41
BioArchLinux/bamtools/PKGBUILD
Normal file
41
BioArchLinux/bamtools/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Christian Krause ("wookietreiber") <kizkizzbangbang@googlemail.com>
|
||||
|
||||
pkgname=bamtools
|
||||
pkgver=2.5.2
|
||||
pkgrel=1
|
||||
pkgdesc="C++ API & command-line toolkit for working with BAM data"
|
||||
arch=('x86_64' 'i686')
|
||||
url="https://github.com/pezmaster31/bamtools"
|
||||
license=('custom')
|
||||
depends=('gcc-libs' 'zlib')
|
||||
makedepends=('cmake')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/pezmaster31/bamtools/archive/v$pkgver.tar.gz)
|
||||
sha256sums=('4d8b84bd07b673d0ed41031348f10ca98dd6fa6a4460f9b9668d6f1d4084dfc8')
|
||||
|
||||
prepare() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
sed -e '/set( CMAKE_BUILD_TYPE Release )/a set( CMAKE_CXX_FLAGS_RELEASE "-std=c++98 ${CMAKE_CXX_FLAGS_RELEASE}" )' \
|
||||
-i CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver/build
|
||||
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
..
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver/build
|
||||
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
10
BioArchLinux/bamtools/lilac.py
Normal file
10
BioArchLinux/bamtools/lilac.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
8
BioArchLinux/bamtools/lilac.yaml
Normal file
8
BioArchLinux/bamtools/lilac.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: starsareintherose@outlook.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: pezmaster31/bamtools
|
||||
use_latest_release: true
|
Loading…
Add table
Reference in a new issue