diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 6 deletions
@@ -1,13 +1,13 @@ pkgbase = r-zlibbioc pkgdesc = An R packaged zlib-1.2.5 - pkgver = 1.40.0 + pkgver = 1.42.0 pkgrel = 1 url = https://bioconductor.org/packages/release/bioc/html/zlibbioc.html arch = i686 arch = x86_64 license = Artistic-2.0 depends = r - source = https://bioconductor.org/packages/release/bioc/src/contrib/zlibbioc_1.40.0.tar.gz - sha256sums = 1276702b631a9fb50a68364ceae30b52d2076f8f7d7d349291ad7f54fea10d28 + source = https://bioconductor.org/packages/release/bioc/src/contrib/zlibbioc_1.42.0.tar.gz + sha256sums = fbf78b33def67a1778e97c15c5161c095268c14baf14ab559dcaccd6a34c1e70 pkgname = r-zlibbioc @@ -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=zlibbioc -_bcver=1.40.0 +_bcver=1.42.0 pkgname=r-${_bcname,,} pkgver=${_bcver//[:-]/.} pkgrel=1 @@ -12,7 +13,7 @@ url="https://bioconductor.org/packages/release/bioc/html/${_bcname}.html" license=(Artistic-2.0) depends=(r) source=("https://bioconductor.org/packages/release/bioc/src/contrib/${_bcname}_${_bcver}.tar.gz") -sha256sums=('1276702b631a9fb50a68364ceae30b52d2076f8f7d7d349291ad7f54fea10d28') +sha256sums=("fbf78b33def67a1778e97c15c5161c095268c14baf14ab559dcaccd6a34c1e70") build() { R CMD INSTALL ${_bcname}_${_bcver}.tar.gz -l "${srcdir}" @@ -20,6 +21,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 } |