From 28d74df07ad810d5a1c91f251308b36a78b1d2db Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Tue, 24 Apr 2018 09:32:00 +0200 Subject: Update URLs --- bin/sample.PKGBUILD | 2 +- src/sample.PKGBUILD | 2 +- update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/sample.PKGBUILD b/bin/sample.PKGBUILD index 4f2d915..9bff99e 100644 --- a/bin/sample.PKGBUILD +++ b/bin/sample.PKGBUILD @@ -14,7 +14,7 @@ optdepends=('dictd: dict client and server') provides=(${_pkgname}) conflicts=(${_pkgname}) install=${pkgname}.install -source=("https://sourceforge.net/projects/freedict/files/${_lang}/${_pkgver}/freedict-${_lang}-${_pkgver}.dictd.tar.xz") +source=("https://download.freedict.org/dictionaries/${_lang}/${_pkgver}/freedict-${_lang}-${_pkgver}.dictd.tar.xz") sha512sums=('%CHECKSUM%') %PREPARE% diff --git a/src/sample.PKGBUILD b/src/sample.PKGBUILD index d76e7cb..680b412 100644 --- a/src/sample.PKGBUILD +++ b/src/sample.PKGBUILD @@ -12,7 +12,7 @@ license=('GPL') optdepends=('dictd: dict client and server') makedepends=('dictd' 'freedict-tools') install=${pkgname}.install -source=("https://sourceforge.net/projects/freedict/files/${_lang}/${_pkgver}/freedict-${_lang}-${_pkgver}.src.tar.xz") +source=("https://download.freedict.org/dictionaries/${_lang}/${_pkgver}/freedict-${_lang}-${_pkgver}.src.tar.xz") sha512sums=('%CHECKSUM%') %PREPARE% diff --git a/update.sh b/update.sh index fca9641..aa2a395 100755 --- a/update.sh +++ b/update.sh @@ -139,7 +139,7 @@ function handle_all ureq=false fi - if [[ "$url" != "https://sourceforge.net/projects/freedict/files/${lang}/${ver}/freedict-${lang}-${ver}.${platform}.tar.xz" ]] + if [[ "$url" != "https://download.freedict.org/dictionaries/${lang}/${ver}/freedict-${lang}-${ver}.${platform}.tar.xz" ]] then echo "${lang}${ext} URL changed (${url})." else -- cgit v1.2.3