summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJooa2018-09-23 14:59:57 +0200
committerJooa2018-10-02 09:55:10 +0200
commitc1b349db54737a45d218afb4f3462bae3d8a41ba (patch)
treeeeba2146e9cf74467783184edb867cad3acd3c22
parentaf5d2a32f177aa38eaea25652a077f09423187f4 (diff)
downloadaur-c1b349db54737a45d218afb4f3462bae3d8a41ba.tar.gz
Add optional dependecies
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0c2ec62ccfe..7fe659b38506 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,7 @@ pkgbase = r-geosphere
license = GPL3
depends = r>=3.0
depends = r-sp
+ optdepends = r-raster
provides = r-geosphere
source = https://cran.r-project.org/src/contrib/geosphere_1.5-7.tar.gz
sha256sums = 9d9b555e2d59a5ae174ae654652121f169fbc3e9cf66c2491bfbe0684b6dd8a0
diff --git a/PKGBUILD b/PKGBUILD
index 756a4459d97e..c03858b715eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,6 +10,7 @@ url="https://cran.r-project.org/package=${_cranname}"
arch=('x86_64' 'i686')
license=('GPL3')
depends=('r>=3.0' 'r-sp')
+optdepends=('r-raster')
provides=('r-geosphere')
source=(https://cran.r-project.org/src/contrib/${_pkgfile})
sha256sums=('9d9b555e2d59a5ae174ae654652121f169fbc3e9cf66c2491bfbe0684b6dd8a0')