diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = r-rhtslib pkgdesc = HTSlib high-throughput sequencing library as an R package - pkgver = 1.26.0 + pkgver = 1.28.0 pkgrel = 1 url = https://bioconductor.org/packages/release/bioc/html/Rhtslib.html arch = i686 @@ -16,7 +16,7 @@ pkgbase = r-rhtslib optdepends = r-rmarkdown optdepends = r-biocstyle options = staticlibs - source = https://bioconductor.org/packages/release/bioc/src/contrib/Rhtslib_1.26.0.tar.gz - sha256sums = 24bba61616e7d4fc57fda86172486b92ffcae31d1a7183d7b8ee29e324ff955f + source = https://bioconductor.org/packages/release/bioc/src/contrib/Rhtslib_1.28.0.tar.gz + sha256sums = 4e48c8643e5d3429238ee76faa4c68ed8a7028e7f594c109ee75f5e994d17c1e pkgname = r-rhtslib @@ -1,8 +1,9 @@ +# Maintainer: peippo <christoph+aur@christophfink.com> # Contributor: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com # Contributor: Grey Christoforo <first name at last name dot net> _bcname=Rhtslib -_bcver=1.26.0 +_bcver=1.28.0 pkgname=r-${_bcname,,} pkgver=${_bcver//[:-]/.} pkgrel=1 @@ -14,7 +15,7 @@ depends=(r r-zlibbioc bzip2 xz curl) makedepends=(make) optdepends=(r-knitr r-rmarkdown r-biocstyle) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz") -sha256sums=('24bba61616e7d4fc57fda86172486b92ffcae31d1a7183d7b8ee29e324ff955f') +sha256sums=('4e48c8643e5d3429238ee76faa4c68ed8a7028e7f594c109ee75f5e994d17c1e') options=(staticlibs) build() { @@ -23,6 +24,9 @@ build() { package() { install -dm0755 "${pkgdir}/usr/lib/R/library" - cp -a --no-preserve=ownership "${_bcname}" "${pkgdir}/usr/lib/R/library" + + if [[ -f "${_cranname}/LICENSE" ]]; then + install -Dm0644 "${_cranname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + fi } |