diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 } |