diff --git a/fail/r-grohmm/PKGBUILD b/fail/r-grohmm/PKGBUILD new file mode 100644 index 0000000000..2b7756496d --- /dev/null +++ b/fail/r-grohmm/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Guoyi Zhang + +_pkgname=groHMM +_pkgver=1.28.0 +pkgname=r-${_pkgname,,} +pkgver=1.28.0 +pkgrel=2 +pkgdesc='GRO-seq Analysis Pipeline' +arch=('x86_64') +url="https://bioconductor.org/packages/${_pkgname}" +license=('GPL') +depends=( + r + r-genomeinfodb + r-genomicalignments + r-genomicranges + r-iranges + r-rtracklayer + r-s4vectors +) +optdepends=( + r-biocstyle + r-edger + r-genomicfeatures + r-org.hs.eg.db + r-txdb.hsapiens.ucsc.hg19.knowngene +) +source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_pkgname}_${_pkgver}.tar.gz") +sha256sums=('1a989a3b426bd792c19569720e2553d21a9e960c8a35bf38b6335fe25a1292c9') + +build() { + R CMD INSTALL ${_pkgname}_${_pkgver}.tar.gz -l "${srcdir}" +} + +package() { + install -dm0755 "${pkgdir}/usr/lib/R/library" + cp -a --no-preserve=ownership "${_pkgname}" "${pkgdir}/usr/lib/R/library" +} +# vim:set ts=2 sw=2 et: diff --git a/fail/r-grohmm/lilac.py b/fail/r-grohmm/lilac.py new file mode 100644 index 0000000000..620556bc87 --- /dev/null +++ b/fail/r-grohmm/lilac.py @@ -0,0 +1,12 @@ +#!/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() diff --git a/fail/r-grohmm/lilac.yaml b/fail/r-grohmm/lilac.yaml new file mode 100644 index 0000000000..22fe4cd7e0 --- /dev/null +++ b/fail/r-grohmm/lilac.yaml @@ -0,0 +1,15 @@ +build_prefix: extra-x86_64 +maintainers: +- github: starsareintherose + email: starsareintherose@outlook.com +repo_depends: +- r-genomeinfodb +- r-genomicalignments +- r-genomicranges +- r-iranges +- r-rtracklayer +- r-s4vectors +update_on: +- regex: groHMM_([\d._-]+).tar.gz + source: regex + url: https://bioconductor.org/packages/groHMM