summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam2021-08-18 14:24:46 -0700
committerSam2021-08-18 14:24:46 -0700
commit9feb5ef1376f133c0af590b689f488dd188723fa (patch)
tree6cf64653817360f2556ec358f15290adfba3de4b
parent966fd28e835bfbfd08a852bda241e6a6866c4fd5 (diff)
downloadaur-9feb5ef1376f133c0af590b689f488dd188723fa.tar.gz
upgpkg: gallery-dl-bin 1.18.3-1
upstream release upstream release
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0835cbaab5c..493d763ca5b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gallery-dl-bin
pkgdesc = Command-line program to download image-galleries and collections from several image hosting sites (bin)
- pkgver = 1.18.2
+ pkgver = 1.18.3
pkgrel = 1
url = https://github.com/mikf/gallery-dl
arch = x86_64
@@ -9,12 +9,10 @@ pkgbase = gallery-dl-bin
provides = gallery-dl
conflicts = gallery-dl
conflicts = gallery-dl-git
- source = https://github.com/mikf/gallery-dl/releases/download/v1.18.2/gallery-dl.bin
- source = https://github.com/mikf/gallery-dl/releases/download/v1.18.2/gallery-dl.bin.sig
- source = https://api.github.com/repos/mikf/gallery-dl/releases/latest
+ source = gallery-dl-1.18.3.bin::https://github.com/mikf/gallery-dl/releases/download/v1.18.3/gallery-dl.bin
+ source = gallery-dl-1.18.3.bin.sig::https://github.com/mikf/gallery-dl/releases/download/v1.18.3/gallery-dl.bin.sig
validpgpkeys = 3E09F5908333DD83DBDCE7375680CA389D365A88
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
+ sha512sums = f6940db72532765f58448808578f26a219be2e9866954956f48e26e51574802fd8674cd5982a4e753107a288c3acff84f15aeec8817389c0c997cca29d73b201
+ sha512sums = SKIP
pkgname = gallery-dl-bin
diff --git a/PKGBUILD b/PKGBUILD
index 1a80eec2c5a..9824ac7d2f9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=gallery-dl-bin
_pkgname=gallery-dl
-pkgver=1.18.2
+pkgver=1.18.3
pkgrel=1
url='https://github.com/mikf/gallery-dl'
pkgdesc='Command-line program to download image-galleries and collections from several image hosting sites (bin)'
@@ -17,21 +17,13 @@ depends=('zlib')
provides=("${_pkgname}")
conflicts=("${_pkgname}" "${_pkgname}-git")
license=(GPL2)
-source=("${url}"/releases/download/v"${pkgver}"/gallery-dl.bin{,.sig}
- "https://api.github.com/repos/mikf/${_pkgname}/releases/latest")
+source=("$_pkgname-$pkgver.bin::${url}"/releases/download/v"${pkgver}"/gallery-dl.bin
+"$_pkgname-$pkgver.bin.sig::${url}"/releases/download/v"${pkgver}"/gallery-dl.bin.sig)
validpgpkeys=('3E09F5908333DD83DBDCE7375680CA389D365A88')
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP')
-
-pkgver() {
- cd "${srcdir}" || exit
- grep -oP "https://.*${_pkgname}.bin" latest |
- head -n1 |
- sed -re "s|.*/v(.*)/${_pkgname}.bin|\1|g"
-}
+sha512sums=('f6940db72532765f58448808578f26a219be2e9866954956f48e26e51574802fd8674cd5982a4e753107a288c3acff84f15aeec8817389c0c997cca29d73b201'
+ 'SKIP')
package() {
cd "${srcdir}" || exit
- install -Dm0755 "${_pkgname}.bin" "${pkgdir}/usr/bin/${_pkgname}"
+ install -Dm0755 "${_pkgname}-${pkgver}.bin" "${pkgdir}/usr/bin/${_pkgname}"
}