Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / ddgr
Commits: 9b826d21 by Robin Candau at 2023-12-29T10:10:27+01:00 upgpkg: 2.2-1: New upstream release - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,14 +1,12 @@ pkgbase = ddgr pkgdesc = DuckDuckGo from the terminal - pkgver = 2.1 - pkgrel = 5 + pkgver = 2.2 + pkgrel = 1 url = https://github.com/jarun/ddgr arch = any license = GPL3 depends = python - source = ddgr-2.1.tar.gz::https://github.com/jarun/ddgr/archive/v2.1.tar.gz - source = fix-http-202-error.patch::https://github.com/jarun/ddgr/commit/15f91df06079847143f5915e53fe6e7c588da80d.patch - sha256sums = fb6601ad533f2925d2d6299ab9e6dd48da0b75e99ef9ed9068f37e516380b5e6 - sha256sums = 9560db701b029845df4e7e3c0a9f2e4f5d00c2b3779076cf9f6e2823d051e1dc + source = ddgr-2.2.tar.gz::https://github.com/jarun/ddgr/archive/v2.2.tar.gz + sha256sums = a858e0477ea339b64ae0427743ebe798a577c4d942737d8b3460bce52ac52524 pkgname = ddgr ===================================== PKGBUILD ===================================== @@ -3,27 +3,15 @@ # Contributor: John Jenkins <twodopeshaggy[at]gmail[dot]com> pkgname=ddgr -pkgver=2.1 -pkgrel=5 +pkgver=2.2 +pkgrel=1 pkgdesc="DuckDuckGo from the terminal" arch=('any') url="https://github.com/jarun/ddgr" license=('GPL3') depends=('python') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" - "fix-http-202-error.patch::https://github.com/jarun/ddgr/commit/15f91df06079847143f5915e53fe6e7c588da80d.patch") -sha256sums=('fb6601ad533f2925d2d6299ab9e6dd48da0b75e99ef9ed9068f37e516380b5e6' - '9560db701b029845df4e7e3c0a9f2e4f5d00c2b3779076cf9f6e2823d051e1dc') - - -prepare() { - cd "${pkgname}-${pkgver}" - - # A recent change in DuckDuckGo side introduced an issue where ddgr returned no reults and the following error: [ERROR] HTTP Error 202: Accepted - # This upstream patch aims to fix it by using the latest Brave user agent - # See https://github.com/jarun/ddgr/issues/158 - patch -Np1 <${srcdir}/fix-http-202-error.patch -} +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha256sums=('a858e0477ea339b64ae0427743ebe798a577c4d942737d8b3460bce52ac52524') package() { cd "${pkgname}-${pkgver}" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ddgr/-/commit/9b826d21c3ee055e21a3d1afb440e1598fa569f4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/ddgr/-/commit/9b826d21c3ee055e21a3d1afb440e1598fa569f4 You're receiving this email because of your account on gitlab.archlinux.org.