mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
try to add lilac.yaml to vcflib but need more information
This commit is contained in:
parent
f4266111c6
commit
4e224538b6
3 changed files with 17 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Maintainer: PumpkinCheshire <me at pumpkincheshire dot com>
|
|
||||||
# Contributor: Fabio Zanini <fabio.zanini _at_ stanford.edu>
|
|
||||||
|
|
||||||
pkgname=python-pysam
|
|
||||||
_name=pysam
|
|
||||||
pkgver=0.19.1
|
|
||||||
_pkgver=0.19.1
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc='Python interface for the SAM/BAM sequence alignment and mapping format'
|
|
||||||
arch=('x86_64')
|
|
||||||
url="https://github.com/pysam-developers/pysam"
|
|
||||||
license=('MIT')
|
|
||||||
depends=('python')
|
|
||||||
makedepends=(
|
|
||||||
'python-setuptools'
|
|
||||||
'cython'
|
|
||||||
'htslib'
|
|
||||||
)
|
|
||||||
provides=('python-pysam')
|
|
||||||
options=(!emptydirs)
|
|
||||||
source=("https://github.com/pysam-developers/${_name}/archive/v${pkgver}.tar.gz")
|
|
||||||
b2sums=('dac3ab5a86ef95048e966fc007a0aa1c96ca8498f7c2672c2ed024f34b508bac42048e58b8ae0b538cea137a51e1874bb5c2c4976c7f3dc657a4c2cf5f9a27fb')
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd "$srcdir/$_name-$pkgver"
|
|
||||||
|
|
||||||
export HTSLIB_LIBRARY_DIR=/usr/lib
|
|
||||||
export HTSLIB_INCLUDE_DIR=/usr/include
|
|
||||||
|
|
||||||
python setup.py build
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$srcdir/$_name-$pkgver"
|
|
||||||
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
|
|
||||||
install -Dm644 "$srcdir/$_name-$pkgver/COPYING" -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
||||||
}
|
|
10
prepare/vcflib/lilac.py
Executable file
10
prepare/vcflib/lilac.py
Executable 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()
|
7
prepare/vcflib/lilac.yaml
Normal file
7
prepare/vcflib/lilac.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
build_prefix: extra-x86_64
|
||||||
|
maintainers:
|
||||||
|
- github: sukanka
|
||||||
|
email: su975853527@gmail.com
|
||||||
|
update_on:
|
||||||
|
- source: github
|
||||||
|
github: vcflib/vcflib
|
Loading…
Add table
Reference in a new issue