diff options
author | Alex Branham | 2018-06-07 13:13:44 -0500 |
---|---|---|
committer | Alex Branham | 2018-06-07 13:13:44 -0500 |
commit | 990bd88e4793ab65fd178eb1618c5932e335685a (patch) | |
tree | c1771ea8c805f17652c72c61124f1aa7e1be2a06 | |
download | aur-990bd88e4793ab65fd178eb1618c5932e335685a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..73b8a3400b61 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = r-stringdist + pkgdesc = Approximate String Matching and String Distance Functions + pkgver = 0.9.5.0 + pkgrel = 1 + url = https://cran.r-project.org/package=stringdist + arch = x86_64 + license = GPL3 + depends = r + optdepends = r-testthat + source = https://cran.r-project.org/src/contrib/stringdist_0.9.5.0.tar.gz + md5sums = 772cf842430ad312bf01c82d6d62d28c + +pkgname = r-stringdist + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a531766538cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alex Branham <branham@utexas.edu> +_cranname=stringdist +_cranver=0.9.5.0 +_pkgtar=${_cranname}_${_cranver}.tar.gz +pkgname=r-stringdist +pkgver=${_cranver//[:-]/.} +pkgrel=1 +pkgdesc="Approximate String Matching and String Distance Functions" +arch=('x86_64') +url="https://cran.r-project.org/package=${_cranname}" +license=('GPL3') +depends=('r' ) + +optdepends=('r-testthat') + +source=("https://cran.r-project.org/src/contrib/${_pkgtar}") +md5sums=('772cf842430ad312bf01c82d6d62d28c') + +build(){ + R CMD INSTALL ${_pkgtar} -l $srcdir +} +package() { + install -d "$pkgdir/usr/lib/R/library" + cp -r "$srcdir/$_cranname" "$pkgdir/usr/lib/R/library" +} + |