mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
tabixpp is ready
This commit is contained in:
parent
2eac58fc7b
commit
8224d38690
8 changed files with 12 additions and 69 deletions
|
@ -1,10 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
git_pkgbuild_commit()
|
||||
|
|
|
@ -6,3 +6,5 @@ update_on:
|
|||
- source: github
|
||||
github: samtools/htslib
|
||||
use_max_tag: true
|
||||
- source: aur
|
||||
aur: htslib
|
||||
|
|
|
@ -2,6 +2,8 @@ build_prefix: extra-x86_64
|
|||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
repo_depends:
|
||||
- htslib
|
||||
update_on:
|
||||
- source: github
|
||||
github: vcflib/tabixpp
|
|
@ -1,41 +0,0 @@
|
|||
# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
|
||||
# Contributor: Christopher Vittal ("viralstitch") <chris@vittal.dev>
|
||||
|
||||
pkgname=htslib
|
||||
_pkgver=1.15.1
|
||||
pkgver=1.15.1
|
||||
pkgrel=1
|
||||
pkgdesc='A C library for high-throughput sequencing data formats'
|
||||
arch=('x86_64')
|
||||
url="https://github.com/samtools/${pkgname}"
|
||||
license=('custom')
|
||||
depends=('bzip2' 'curl' 'xz')
|
||||
provides=('tabix')
|
||||
replaces=('tabix')
|
||||
conflicts=('tabix')
|
||||
options=('staticlibs')
|
||||
source=("${pkgname}-${pkgver}.tar.bz2::${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
|
||||
sha256sums=('8d7f8bf9658226942eeab70af2a22aca618577eaa8fe2ed9416ee306d5351aa1')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-libcurl \
|
||||
--enable-plugins \
|
||||
--with-plugin-dir=/usr/lib/htslib/plugins
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
# htslib shared library comes installed as 0644
|
||||
chmod +x ${pkgdir}/usr/lib/libhts.so.*.*
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: sukanka
|
||||
email: su975853527@gmail.com
|
||||
update_on:
|
||||
- source: github
|
||||
github: samtools/htslib
|
||||
use_max_tag: true
|
||||
- source: aur
|
||||
aur: htslib
|
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
|
||||
def pre_build():
|
||||
for line in edit_file('PKGBUILD'):
|
||||
if line.startswith('_pkgver='):
|
||||
line = f'_pkgver={_G.newver}'
|
||||
print(line)
|
||||
update_pkgver_and_pkgrel(_G.newver.replace(':', '.').replace('-', '.'))
|
||||
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
Loading…
Add table
Reference in a new issue