diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2021-02-15 23:56:54 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2021-02-15 23:56:54 +0800 |
commit | bdda34e9873ad255d19fff3be93397c6520e5b87 (patch) | |
tree | 35592d92e8273e3211c2d531277fdfe50464e665 | |
parent | c6f97b789304e1d52397b075a1754bcdea6f9708 (diff) | |
download | AUR4-PKGBUILD-bdda34e9873ad255d19fff3be93397c6520e5b87.tar.gz AUR4-PKGBUILD-bdda34e9873ad255d19fff3be93397c6520e5b87.tar.zst AUR4-PKGBUILD-bdda34e9873ad255d19fff3be93397c6520e5b87.zip |
guile-{gcrypt,git-lib,ssh}: Make source file names unique
So it won't cause troubles for people using a shared SRCDEST directory.
-rw-r--r-- | guile-gcrypt/.SRCINFO | 2 | ||||
-rw-r--r-- | guile-gcrypt/PKGBUILD | 2 | ||||
-rw-r--r-- | guile-git-lib/.SRCINFO | 8 | ||||
-rw-r--r-- | guile-git-lib/PKGBUILD | 17 | ||||
-rw-r--r-- | guile-ssh/.SRCINFO | 2 | ||||
-rw-r--r-- | guile-ssh/PKGBUILD | 2 |
6 files changed, 16 insertions, 17 deletions
diff --git a/guile-gcrypt/.SRCINFO b/guile-gcrypt/.SRCINFO index 33f82e5..15aa00a 100644 --- a/guile-gcrypt/.SRCINFO +++ b/guile-gcrypt/.SRCINFO @@ -9,7 +9,7 @@ pkgbase = guile-gcrypt license = GPL3 depends = guile depends = libgcrypt - source = https://notabug.org/cwebber/guile-gcrypt/archive/v0.3.0.tar.gz + source = guile-gcrypt-0.3.0.tar.gz::https://notabug.org/cwebber/guile-gcrypt/archive/v0.3.0.tar.gz sha256sums = 07394c3de4f31a36ca2b670e1998c526de891d9436f12e94d8862ab081274d6a pkgname = guile-gcrypt diff --git a/guile-gcrypt/PKGBUILD b/guile-gcrypt/PKGBUILD index 11db434..4598cef 100644 --- a/guile-gcrypt/PKGBUILD +++ b/guile-gcrypt/PKGBUILD @@ -9,7 +9,7 @@ arch=('x86_64' 'i686' 'armv7h') url="https://notabug.org/cwebber/guile-gcrypt" license=('GPL3') depends=('guile' 'libgcrypt') -source=("https://notabug.org/cwebber/${pkgname}/archive/v${pkgver}.tar.gz") +source=("${pkgname}-${pkgver}.tar.gz::https://notabug.org/cwebber/${pkgname}/archive/v${pkgver}.tar.gz") sha256sums=('07394c3de4f31a36ca2b670e1998c526de891d9436f12e94d8862ab081274d6a') build() { diff --git a/guile-git-lib/.SRCINFO b/guile-git-lib/.SRCINFO index dbf840e..fa02cc5 100644 --- a/guile-git-lib/.SRCINFO +++ b/guile-git-lib/.SRCINFO @@ -11,10 +11,10 @@ pkgbase = guile-git-lib depends = guile depends = guile-bytestructures depends = libgit2>=0.28.0 - source = https://gitlab.com/guile-git/guile-git/uploads/2600bb0dfdfb00bfbe46811dccad51d8/guile-git-0.4.0.tar.gz - source = https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_client - source = https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_client.pub - source = https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_server + source = guile-git-lib-0.4.0.tar.gz::https://gitlab.com/guile-git/guile-git/uploads/2600bb0dfdfb00bfbe46811dccad51d8/guile-git-0.4.0.tar.gz + source = guile-git-lib-0.4.0-id_rsa_client::https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_client + source = guile-git-lib-0.4.0-id_rsa_client.pub::https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_client.pub + source = guile-git-lib-0.4.0-id_rsa_server::https://gitlab.com/guile-git/guile-git/-/raw/v0.4.0/tests/.ssh/id_rsa_server sha256sums = 2ccee3e0520b5db354a1b7070f95e3bbaf0bb0f61c11ca92793728257a7abecf sha256sums = e58e37ec6d5916b46b785b9db5ae05498e5dc25b1beaa46eee227bf415fee952 sha256sums = 8a3b18d1d725f69ab778e0badbc43746766b591a54f965ee2e57d82822775d43 diff --git a/guile-git-lib/PKGBUILD b/guile-git-lib/PKGBUILD index 43b7840..11632dd 100644 --- a/guile-git-lib/PKGBUILD +++ b/guile-git-lib/PKGBUILD @@ -11,10 +11,10 @@ license=('GPL3') depends=('guile' 'guile-bytestructures' 'libgit2>=0.28.0') makedepends=('git') source=( - "https://gitlab.com/${_pkgname}/${_pkgname}/uploads/2600bb0dfdfb00bfbe46811dccad51d8/${_pkgname}-${pkgver}.tar.gz" - "https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_client" - "https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_client.pub" - "https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_server") + "${pkgname}-${pkgver}.tar.gz::https://gitlab.com/${_pkgname}/${_pkgname}/uploads/2600bb0dfdfb00bfbe46811dccad51d8/${_pkgname}-${pkgver}.tar.gz" + "${pkgname}-${pkgver}-id_rsa_client::https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_client" + "${pkgname}-${pkgver}-id_rsa_client.pub::https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_client.pub" + "${pkgname}-${pkgver}-id_rsa_server::https://gitlab.com/guile-git/guile-git/-/raw/v${pkgver}/tests/.ssh/id_rsa_server") sha256sums=( '2ccee3e0520b5db354a1b7070f95e3bbaf0bb0f61c11ca92793728257a7abecf' 'e58e37ec6d5916b46b785b9db5ae05498e5dc25b1beaa46eee227bf415fee952' @@ -24,11 +24,10 @@ sha256sums=( prepare() { cd "${srcdir}/${_pkgname}-${pkgver}" mkdir tests/.ssh - cp \ - "${srcdir}/$(basename "${source[1]}")" \ - "${srcdir}/$(basename "${source[2]}")" \ - "${srcdir}/$(basename "${source[3]}")" \ - tests/.ssh + local source_file + for source_file in "${source[@]:1:3}"; do + cp "${srcdir}/${source_file%%::*}" "tests/.ssh/${source_file##*/}" + done } build() { diff --git a/guile-ssh/.SRCINFO b/guile-ssh/.SRCINFO index ebdad76..5ea4187 100644 --- a/guile-ssh/.SRCINFO +++ b/guile-ssh/.SRCINFO @@ -9,7 +9,7 @@ pkgbase = guile-ssh license = GPL3 depends = guile>=2.0.9 depends = libssh>=0.7.3 - source = https://github.com/artyom-poptsov/guile-ssh/archive/v0.13.1.tar.gz + source = guile-ssh-0.13.1.tar.gz::https://github.com/artyom-poptsov/guile-ssh/archive/v0.13.1.tar.gz sha256sums = 38bc5721b770aba0928f97c97346b03d108dcd82a17d5f56ab4e3e94d70a2c2f pkgname = guile-ssh diff --git a/guile-ssh/PKGBUILD b/guile-ssh/PKGBUILD index 58cc0dc..f46bb8d 100644 --- a/guile-ssh/PKGBUILD +++ b/guile-ssh/PKGBUILD @@ -11,7 +11,7 @@ depends=( 'guile>=2.0.9' 'libssh>=0.7.3') source=( - "https://github.com/artyom-poptsov/guile-ssh/archive/v${pkgver}.tar.gz") + "${pkgname}-${pkgver}.tar.gz::https://github.com/artyom-poptsov/guile-ssh/archive/v${pkgver}.tar.gz") sha256sums=( '38bc5721b770aba0928f97c97346b03d108dcd82a17d5f56ab4e3e94d70a2c2f') |