summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathon Fernyhough2019-08-09 21:28:06 +0100
committerJonathon Fernyhough2019-08-09 21:28:06 +0100
commit39a7427d439eba0804a47004b72d3f2d38a2fbe6 (patch)
treeab1aecf3d19298a0d9fc5208ab6456cae3c5b020
parent954c7e60d3e665b7069d89637d17e4f233f0e764 (diff)
downloadaur-39a7427d439eba0804a47004b72d3f2d38a2fbe6.tar.gz
Pass $pkgver for dependency generation
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 40381b436c1..b0edfddb2f3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = julia-customunitranges
pkgdesc = Package-specific AbstractUnitRange types for julia
pkgver = 0.2.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/JuliaArrays/CatIndices.jl
arch = any
license = MIT
@@ -9,7 +9,7 @@ pkgbase = julia-customunitranges
depends = julia
depends = julia-compat
depends = julia-loadpath
- source = julia-customunitranges-0.2.0.tar.gz::https://github.com/JuliaArrays/CustomUnitRanges.jl/archive/v0.2.0.tar.gz
+ source = julia-customunitranges-0.2.0.tar.gz::https://github.com/JuliaArrays/CatIndices.jl/archive/v0.2.0.tar.gz
source = julia-customunitranges-0.2.0-Deps.toml::https://raw.githubusercontent.com/JuliaRegistries/General/fbfeb69a2884a8188446ede9713b4a6fab54ac9d/C/CustomUnitRanges/Deps.toml
source = julia-customunitranges-0.2.0-Package.toml::https://raw.githubusercontent.com/JuliaRegistries/General/fbfeb69a2884a8188446ede9713b4a6fab54ac9d/C/CustomUnitRanges/Package.toml
source = julia-customunitranges-0.2.0-Versions.toml::https://raw.githubusercontent.com/JuliaRegistries/General/fbfeb69a2884a8188446ede9713b4a6fab54ac9d/C/CustomUnitRanges/Versions.toml
diff --git a/PKGBUILD b/PKGBUILD
index fe30f7f7f0a..6e31fa93089 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=julia-customunitranges
_pkgname=CustomUnitRanges
pkgver=0.2.0
-pkgrel=1
+pkgrel=2
pkgdesc='Package-specific AbstractUnitRange types for julia'
arch=(any)
url=https://github.com/JuliaArrays/CatIndices.jl
@@ -12,7 +12,7 @@ depends=(julia julia-compat julia-loadpath)
makedepends=(julia-distrohelper)
_commit=fbfeb69a2884a8188446ede9713b4a6fab54ac9d
-source=($pkgname-$pkgver.tar.gz::https://github.com/JuliaArrays/$_pkgname.jl/archive/v$pkgver.tar.gz
+source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
$pkgname-$pkgver-Deps.toml::https://raw.githubusercontent.com/JuliaRegistries/General/$_commit/${_pkgname:0:1}/$_pkgname/Deps.toml
$pkgname-$pkgver-Package.toml::https://raw.githubusercontent.com/JuliaRegistries/General/$_commit/${_pkgname:0:1}/$_pkgname/Package.toml
$pkgname-$pkgver-Versions.toml::https://raw.githubusercontent.com/JuliaRegistries/General/$_commit/${_pkgname:0:1}/$_pkgname/Versions.toml)
@@ -26,7 +26,7 @@ _slug() {
}
_project() {
- dh_julia distro_project_ "$srcdir"/"$pkgname"-$pkgver-{Package,Versions,Deps}.toml
+ dh_julia distro_project_ "$srcdir"/"$pkgname"-$pkgver-{Package,Versions,Deps}.toml $pkgver
}
prepare() {