mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
r-rle: add new pkg
This commit is contained in:
parent
771f6f4ce1
commit
17d8d761a5
3 changed files with 54 additions and 0 deletions
29
BioArchLinux/r-rle/PKGBUILD
Normal file
29
BioArchLinux/r-rle/PKGBUILD
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Shun Wang <shuonwang at gmail dot com>
|
||||
# Contributor: Shun Wang <shuonwang at gmail dot com>
|
||||
|
||||
_pkgname=rle
|
||||
_pkgver=0.9.2
|
||||
pkgname=r-${_pkgname,,}
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgdesc="Common Functions for Run-Length Encoded Vectors"
|
||||
arch=('x86_64')
|
||||
url="https://cran.r-project.org/package=$_pkgname"
|
||||
license=('GPL-3.0-only')
|
||||
depends=()
|
||||
optdepends=(
|
||||
r-covr
|
||||
)
|
||||
source=("https://cran.r-project.org/src/contrib/${_pkgname}_${_pkgver}.tar.gz")
|
||||
md5sums=('ff69a29a64e3a987278522e100c8b27a')
|
||||
b2sums=('601563122f08b5a4b05839e748a3393a05f62d524609b8f1cf22c0fe07b019f1c668c26ff38eb8e3d2d8705417b5cbdfc9c5957ad485086a384c4f9232372caa')
|
||||
|
||||
build() {
|
||||
mkdir build
|
||||
R CMD INSTALL -l build "$_pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir/usr/lib/R/library"
|
||||
cp -a --no-preserve=ownership "build/$_pkgname" "$pkgdir/usr/lib/R/library"
|
||||
}
|
14
BioArchLinux/r-rle/lilac.py
Normal file
14
BioArchLinux/r-rle/lilac.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
from lilaclib import *
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.normpath(f'{__file__}/../../../lilac-extensions'))
|
||||
from lilac_r_utils import r_pre_build
|
||||
|
||||
def pre_build():
|
||||
r_pre_build(_G)
|
||||
|
||||
def post_build():
|
||||
git_pkgbuild_commit()
|
||||
# update_aur_repo()
|
11
BioArchLinux/r-rle/lilac.yaml
Normal file
11
BioArchLinux/r-rle/lilac.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: shun2wang
|
||||
email: shuonwang@gmail.com
|
||||
repo_depends:
|
||||
update_on:
|
||||
- source: rpkgs
|
||||
pkgname: rle
|
||||
repo: cran
|
||||
md5: true
|
||||
- alias: r
|
Loading…
Add table
Reference in a new issue