diff options
author | Ward Segers | 2018-11-10 21:00:16 +0100 |
---|---|---|
committer | Ward Segers | 2018-11-10 21:00:16 +0100 |
commit | 7c548962ebbf2cfe933f5b7f066707fb8d1730e2 (patch) | |
tree | 86dc082a11ae6186c2918d0aa953e400c1f8ab1c | |
parent | cb16c59cacd3a31438928f5bd0fcb4f6979efc81 (diff) | |
download | aur-7c548962ebbf2cfe933f5b7f066707fb8d1730e2.tar.gz |
R-expm re-upload
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitlab-ci.yml | 15 | ||||
-rw-r--r-- | PKGBUILD | 7 |
3 files changed, 21 insertions, 3 deletions
@@ -11,7 +11,7 @@ pkgbase = r-expm optdepends = r-rmpfr replaces = r-cran-expm source = https://cran.r-project.org/src/contrib/expm_0.999-3.tar.gz - md5sums = 5c0f7500dd129d1a5262eadd92555c7c + sha512sums = b33fd05a711bca008950381f0a8abade8124112ecc33b62f16e46d416a2d5ca2fefd75a82a8a2cc8eec43864f38a2f7af693ed0ebf213d7f1b8d337ac942135b pkgname = r-expm diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000000..f05de8bb9bb9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +image: "imrehg/archlinux-makepkg" + +before_script: +- sudo pacman -Syu --noconfirm + +package: + script: + - makepkg -s --noconfirm + artifacts: + paths: + - pkg/ + - r-expm-*.tar.xz + expire_in: 2 days + + @@ -1,4 +1,6 @@ -# Maintainer: Alex Branham <alex.branham@gmail.com> +# Maintainer: Ward Segers <w@rdsegers.be> +# Contributor: Alex Branham <alex.branham@gmail.com> + _cranver=0.999-3 pkgname=r-expm pkgver=${_cranver//[:-]/.} @@ -11,11 +13,12 @@ depends=('r' ) optdepends=('r-rcolorbrewer' 'r-sfsmisc' 'r-rmpfr') replaces=('r-cran-expm') source=("https://cran.r-project.org/src/contrib/expm_"$_cranver".tar.gz") -md5sums=('5c0f7500dd129d1a5262eadd92555c7c') +sha512sums=('b33fd05a711bca008950381f0a8abade8124112ecc33b62f16e46d416a2d5ca2fefd75a82a8a2cc8eec43864f38a2f7af693ed0ebf213d7f1b8d337ac942135b') build(){ R CMD INSTALL expm_"$_cranver".tar.gz -l "$srcdir" } + package() { install -dm0755 "$pkgdir"/usr/lib/R/library cp -a --no-preserve=ownership expm "$pkgdir"/usr/lib/R/library |