From 1301e6ae134309fb1ba5b5167df1ce392f78673f Mon Sep 17 00:00:00 2001
From: Muh Muhten <muh.muhten@gmail.com>
Date: Tue, 1 Mar 2016 00:41:27 -0500
Subject: [PATCH] update all source= lines to use :: instead of saveas- syntax

---
 community/openjdk7/APKBUILD        | 14 +++++++-------
 community/openjdk8/APKBUILD        | 16 ++++++++--------
 main/charybdis/APKBUILD            |  2 +-
 main/cython/APKBUILD               |  2 +-
 main/gdnsd/APKBUILD                |  2 +-
 main/pianobar/APKBUILD             |  2 +-
 main/pptpd/APKBUILD                |  2 +-
 main/sems/APKBUILD                 |  2 +-
 main/soxr/APKBUILD                 |  2 +-
 main/tlsdate/APKBUILD              |  2 +-
 testing/beard/APKBUILD             |  2 +-
 testing/boost-coroutine/APKBUILD   |  2 +-
 testing/compton/APKBUILD           |  2 +-
 testing/corebird/APKBUILD          |  2 +-
 testing/detox/APKBUILD             |  2 +-
 testing/fortune/APKBUILD           |  2 +-
 testing/gdnsd/APKBUILD             |  2 +-
 testing/h2o/APKBUILD               |  2 +-
 testing/imapfilter/APKBUILD        |  2 +-
 testing/ktsuss/APKBUILD            |  2 +-
 testing/opensc/APKBUILD            |  2 +-
 testing/py-gnuplot/APKBUILD        |  2 +-
 testing/py-newt_syrup/APKBUILD     |  2 +-
 testing/py-pygit2/APKBUILD         |  2 +-
 testing/qpage/APKBUILD             |  2 +-
 testing/rocksdb/APKBUILD           |  2 +-
 testing/sch-cake-grsec/APKBUILD    |  2 +-
 testing/sl/APKBUILD                |  2 +-
 testing/spacefm/APKBUILD           |  2 +-
 testing/sqm-scripts/APKBUILD       |  2 +-
 testing/twemproxy/APKBUILD         |  2 +-
 testing/webalizer/APKBUILD         |  2 +-
 testing/xva-img/APKBUILD           |  2 +-
 unmaintained/gtkimageview/APKBUILD |  2 +-
 34 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/community/openjdk7/APKBUILD b/community/openjdk7/APKBUILD
index cb913ba35c60..528b0fa201f2 100644
--- a/community/openjdk7/APKBUILD
+++ b/community/openjdk7/APKBUILD
@@ -57,13 +57,13 @@ _dropsver=$_icedteaver
 _dropsurl=http://icedtea.classpath.org/download/drops/icedtea7/$_dropsver
 
 source="http://icedtea.classpath.org/download/source/icedtea-$_icedteaver.tar.gz
-	saveas-$_dropsurl/openjdk.tar.bz2/openjdk-$_dropsver.tar.bz2
-	saveas-$_dropsurl/corba.tar.bz2/corba-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jaxp.tar.bz2/jaxp-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jaxws.tar.bz2/jaxws-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jdk.tar.bz2/jdk-$_dropsver.tar.bz2
-	saveas-$_dropsurl/langtools.tar.bz2/langtools-$_dropsver.tar.bz2
-	saveas-$_dropsurl/hotspot.tar.bz2/hotspot-$_dropsver.tar.bz2
+	openjdk-$_dropsver.tar.bz2::$_dropsurl/openjdk.tar.bz2
+	corba-$_dropsver.tar.bz2::$_dropsurl/corba.tar.bz2
+	jaxp-$_dropsver.tar.bz2::$_dropsurl/jaxp.tar.bz2
+	jaxws-$_dropsver.tar.bz2::$_dropsurl/jaxws.tar.bz2
+	jdk-$_dropsver.tar.bz2::$_dropsurl/jdk.tar.bz2
+	langtools-$_dropsver.tar.bz2::$_dropsurl/langtools.tar.bz2
+	hotspot-$_dropsver.tar.bz2::$_dropsurl/hotspot.tar.bz2
 	http://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VER-bin.tar.gz
 	https://github.com/mozilla/rhino/releases/download/Rhino$(echo ${RHINO_VER} | sed s'/\./_/g')_RELEASE/rhino$RHINO_VER.zip
 
diff --git a/community/openjdk8/APKBUILD b/community/openjdk8/APKBUILD
index 4a02d7109938..2e43ab5fc87e 100644
--- a/community/openjdk8/APKBUILD
+++ b/community/openjdk8/APKBUILD
@@ -42,14 +42,14 @@ subpackages="$pkgname-jre-lib:jrelib $pkgname-jre $pkgname-jre-base:jrebase
 _dropsurl=http://hg.openjdk.java.net/jdk8u/jdk8u
 _dropsver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build}
 
-source="saveas-$_dropsurl/archive/${_dropsver}.tar.bz2/jdk8u-$_dropsver.tar.bz2
-	saveas-$_dropsurl/corba/archive/${_dropsver}.tar.bz2/corba-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jaxp/archive/${_dropsver}.tar.bz2/jaxp-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jaxws/archive/${_dropsver}.tar.bz2/jaxws-$_dropsver.tar.bz2
-	saveas-$_dropsurl/jdk/archive/${_dropsver}.tar.bz2/jdk-$_dropsver.tar.bz2
-	saveas-$_dropsurl/langtools/archive/${_dropsver}.tar.bz2/langtools-$_dropsver.tar.bz2
-	saveas-$_dropsurl/nashorn/archive/${_dropsver}.tar.bz2/nashorn-$_dropsver.tar.bz2
-	saveas-$_dropsurl/hotspot/archive/${_dropsver}.tar.bz2/hotspot-$_dropsver.tar.bz2
+source="jdk8u-$_dropsver.tar.bz2::$_dropsurl/archive/${_dropsver}.tar.bz2
+	corba-$_dropsver.tar.bz2::$_dropsurl/corba/archive/${_dropsver}.tar.bz2
+	jaxp-$_dropsver.tar.bz2::$_dropsurl/jaxp/archive/${_dropsver}.tar.bz2
+	jaxws-$_dropsver.tar.bz2::$_dropsurl/jaxws/archive/${_dropsver}.tar.bz2
+	jdk-$_dropsver.tar.bz2::$_dropsurl/jdk/archive/${_dropsver}.tar.bz2
+	langtools-$_dropsver.tar.bz2::$_dropsurl/langtools/archive/${_dropsver}.tar.bz2
+	nashorn-$_dropsver.tar.bz2::$_dropsurl/nashorn/archive/${_dropsver}.tar.bz2
+	hotspot-$_dropsver.tar.bz2::$_dropsurl/hotspot/archive/${_dropsver}.tar.bz2
 
 	icedtea-hotspot-musl.patch
 	icedtea-hotspot-noagent-musl.patch
diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD
index b332b924e0f0..efa592a81412 100644
--- a/main/charybdis/APKBUILD
+++ b/main/charybdis/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="bison flex openssl-dev zlib-dev libtool"
 makedepends="$depends_dev"
 install="$pkgname.pre-install"
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-http://www.stack.nl/~jilles/irc/$pkgname-$pkgver.tbz2/$pkgname-$pkgver.tar.bz2
+source="$pkgname-$pkgver.tar.bz2::http://www.stack.nl/~jilles/irc/$pkgname-$pkgver.tbz2
 	fix-ratbox-errors.patch
 	$pkgname.initd
 	$pkgname.confd"
diff --git a/main/cython/APKBUILD b/main/cython/APKBUILD
index c8027027ec56..c7f3a5892f82 100644
--- a/main/cython/APKBUILD
+++ b/main/cython/APKBUILD
@@ -11,7 +11,7 @@ depends=""
 depends_dev="python-dev py-pgen"
 makedepends="$depends_dev"
 subpackages="$pkgname-dev"
-source="saveas-https://github.com/cython/cython/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/cython/cython/archive/$pkgver.tar.gz"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
diff --git a/main/gdnsd/APKBUILD b/main/gdnsd/APKBUILD
index 42b6bd39b40d..6a189c0652ff 100644
--- a/main/gdnsd/APKBUILD
+++ b/main/gdnsd/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="userspace-rcu-dev libev-dev libcap-dev ragel autoconf automake libtool"
 install="$pkgname.pre-install"
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-https://github.com/blblack/gdnsd/archive/v$pkgver.tar.gz/gdnsd-$pkgver.tar.gz
+source="gdnsd-$pkgver.tar.gz::https://github.com/blblack/gdnsd/archive/v$pkgver.tar.gz
 	0001-Fix-ztree_txn_-API-to-work.patch
 	0002-Impelement-loading-of-DJBDNS-zone-files.patch
 	0003-fix-djbdns-text-parsing.patch
diff --git a/main/pianobar/APKBUILD b/main/pianobar/APKBUILD
index cc3e5010dba0..3eb2e14b3a84 100644
--- a/main/pianobar/APKBUILD
+++ b/main/pianobar/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="ffmpeg-dev libao-dev libgcrypt-dev gnutls-dev json-c-dev"
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/PromyLOPh/pianobar/tarball/${pkgver}/pianobar-${pkgver}.tar.gz"
+source="pianobar-${pkgver}.tar.gz::https://github.com/PromyLOPh/pianobar/tarball/${pkgver}"
 
 _builddir="${srcdir}/PromyLOPh-pianobar-5b9e0d9"
 prepare() {
diff --git a/main/pptpd/APKBUILD b/main/pptpd/APKBUILD
index 88c8df6a5c8c..f70c15c75bf9 100644
--- a/main/pptpd/APKBUILD
+++ b/main/pptpd/APKBUILD
@@ -11,7 +11,7 @@ depends=""
 makedepends="ppp-dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-http://sourceforge.net/projects/poptop/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz/download/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::http://sourceforge.net/projects/poptop/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz/download
 	fix_MSG_TRYHARD.patch
 	pptpd.patch
 	pptpd.confd
diff --git a/main/sems/APKBUILD b/main/sems/APKBUILD
index a19ee997940a..bcebeacbc52b 100644
--- a/main/sems/APKBUILD
+++ b/main/sems/APKBUILD
@@ -20,7 +20,7 @@ subpackages="$pkgname-doc $pkgname-conf_auth $pkgname-conference
 	$pkgname-webconference $pkgname-voicebox $pkgname-voicemail
 	$pkgname-annrecorder $pkgname-jsonrpc $pkgname-registrar"
 
-source="saveas-https://github.com/sems-server/sems/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/sems-server/sems/archive/$pkgver.tar.gz
 	sems-0001-Force-to-use-system-wide-GSM-includes.patch
 	sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch
 	sems-0003-Set-CFG_PREFIX-to-empty-string-by-default.patch
diff --git a/main/soxr/APKBUILD b/main/soxr/APKBUILD
index 14fcf73f888d..dcaebc142285 100644
--- a/main/soxr/APKBUILD
+++ b/main/soxr/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="cmake"
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download/$pkgname-$pkgver.tar.xz"
+source="$pkgname-$pkgver.tar.xz::http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-Source.tar.xz/download"
 _builddir="$srcdir"/$pkgname-$pkgver-Source
 build() {
 	cd "$_builddir"
diff --git a/main/tlsdate/APKBUILD b/main/tlsdate/APKBUILD
index 24b6ef404d52..c377444b89e9 100644
--- a/main/tlsdate/APKBUILD
+++ b/main/tlsdate/APKBUILD
@@ -13,7 +13,7 @@ pkggroups="tlsdate"
 makedepends="autoconf automake libtool openssl-dev linux-headers libevent-dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/ioerror/tlsdate/tarball/tlsdate-${pkgver}/tlsdate-${pkgver}.tar.gz
+source="tlsdate-${pkgver}.tar.gz::https://github.com/ioerror/tlsdate/tarball/tlsdate-${pkgver}
 	tlsdate.confd
 	tlsdate.initd
 	tlsdated.confd
diff --git a/testing/beard/APKBUILD b/testing/beard/APKBUILD
index d93768f2b4f4..cc3770026424 100644
--- a/testing/beard/APKBUILD
+++ b/testing/beard/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/ahills/beard/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ahills/beard/archive/v$pkgver.tar.gz"
 
 _builddir="$srcdir/$pkgname-$pkgver"
 
diff --git a/testing/boost-coroutine/APKBUILD b/testing/boost-coroutine/APKBUILD
index 3d670173bfbb..60a0ee3de90d 100644
--- a/testing/boost-coroutine/APKBUILD
+++ b/testing/boost-coroutine/APKBUILD
@@ -10,7 +10,7 @@ license="custom:boost"
 depends=
 depends_dev="boost-dev pth-dev"
 install=""
-source="saveas-http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-12-01.tar.gz&directory=Concurrent%20Programming/boost-coroutine-2009-12-01.tar.gz
+source="boost-coroutine-2009-12-01.tar.gz::http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-12-01.tar.gz&directory=Concurrent%20Programming
 	boost-coroutine-pth.patch"
 
 _builddir="${srcdir}/boost-coroutine"
diff --git a/testing/compton/APKBUILD b/testing/compton/APKBUILD
index 2a955ad3f0e9..b4f2cc6bf55b 100644
--- a/testing/compton/APKBUILD
+++ b/testing/compton/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="libx11-dev libxcomposite-dev libxinerama-dev libxdamage-dev \
 makedepends="$depends_dev asciidoc"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/chjj/$pkgname/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/chjj/$pkgname/archive/v$pkgver.tar.gz"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
diff --git a/testing/corebird/APKBUILD b/testing/corebird/APKBUILD
index 11c782dbf572..78c7a29109c7 100644
--- a/testing/corebird/APKBUILD
+++ b/testing/corebird/APKBUILD
@@ -13,7 +13,7 @@ makedepends="gtk+3.0-dev rest-dev json-glib-dev sqlite-dev libsoup-dev libgee-de
             vala tiff automake autoconf libtool intltool glib-dev"
 install=""
 subpackages="$pkgname-lang $pkgname-doc"
-source="saveas-https://github.com/baedert/corebird/archive/1.0.tar.gz/${pkgname}-${pkgver}.tar.gz"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/baedert/corebird/archive/1.0.tar.gz"
 options="libtool"
 
 _builddir=${srcdir}/${pkgname}-${pkgver}
diff --git a/testing/detox/APKBUILD b/testing/detox/APKBUILD
index c49183583b2c..9e694dafa293 100644
--- a/testing/detox/APKBUILD
+++ b/testing/detox/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="flex-dev"
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-http://sourceforge.net/projects/detox/files/detox/1.2.0/detox-1.2.0.tar.bz2/download/$pkgname-$pkgver.tar.bz2"
+source="$pkgname-$pkgver.tar.bz2::http://sourceforge.net/projects/detox/files/detox/1.2.0/detox-1.2.0.tar.bz2/download"
 
 _builddir=$srcdir/$pkgname-$pkgver
 build() {
diff --git a/testing/fortune/APKBUILD b/testing/fortune/APKBUILD
index c451e383f3eb..c2738d8e0ec9 100644
--- a/testing/fortune/APKBUILD
+++ b/testing/fortune/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="$depends_dev libbsd-dev"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-$url/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
 
 _builddir="$srcdir/$pkgname-$pkgver"
 build() {
diff --git a/testing/gdnsd/APKBUILD b/testing/gdnsd/APKBUILD
index b083811d64d6..4d83297bd748 100644
--- a/testing/gdnsd/APKBUILD
+++ b/testing/gdnsd/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="userspace-rcu-dev libev-dev libcap-dev ragel autoconf automake libtool"
 install="$pkgname.pre-install"
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-https://github.com/blblack/gdnsd/archive/v$pkgver.tar.gz/gdnsd-$pkgver.tar.gz
+source="gdnsd-$pkgver.tar.gz::https://github.com/blblack/gdnsd/archive/v$pkgver.tar.gz
 	gdnsd.initd"
 
 _builddir="$srcdir"/gdnsd-$pkgver
diff --git a/testing/h2o/APKBUILD b/testing/h2o/APKBUILD
index 313e2afae08f..8788fb2f82c5 100644
--- a/testing/h2o/APKBUILD
+++ b/testing/h2o/APKBUILD
@@ -11,7 +11,7 @@ depends="perl"
 makedepends="cmake wslay-dev openssl-dev libuv-dev libyaml-dev"
 install="$pkgname.pre-install"
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
 	h2o.conf
 	h2o.initd
 	h2o.logrotate"
diff --git a/testing/imapfilter/APKBUILD b/testing/imapfilter/APKBUILD
index 956bd9a4a3be..e6ac1de936a2 100644
--- a/testing/imapfilter/APKBUILD
+++ b/testing/imapfilter/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=
 makedepends="$depends_dev lua-dev openssl-dev pcre-dev libc-dev"
 install=
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/lefcha/$pkgname/archive/v${pkgver}.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/lefcha/$pkgname/archive/v${pkgver}.tar.gz
         io-flush.patch"
 
 
diff --git a/testing/ktsuss/APKBUILD b/testing/ktsuss/APKBUILD
index 899e8db40cd9..5aae9e13b1f1 100644
--- a/testing/ktsuss/APKBUILD
+++ b/testing/ktsuss/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="$depends_dev gtk+2.0-dev bash libtool m4 autoconf automake"
 install=""
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/nomius/$pkgname/archive/$pkgver.tar.gz/${pkgname}-${pkgver}.tar.gz"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/nomius/$pkgname/archive/$pkgver.tar.gz"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 prepare() {
diff --git a/testing/opensc/APKBUILD b/testing/opensc/APKBUILD
index 68dd2ea90988..c12929907645 100644
--- a/testing/opensc/APKBUILD
+++ b/testing/opensc/APKBUILD
@@ -13,7 +13,7 @@ depends_dev="pcsc-lite-dev openssl-dev readline-dev"
 makedepends="$depends_dev automake autoconf m4 gettext libtool"
 install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-https://github.com/OpenSC/OpenSC/archive/${pkgver}.tar.gz/$_realname-${pkgver}.tar.gz"
+source="$_realname-${pkgver}.tar.gz::https://github.com/OpenSC/OpenSC/archive/${pkgver}.tar.gz"
 
 _builddir="$srcdir/$_realname-$pkgver"
 
diff --git a/testing/py-gnuplot/APKBUILD b/testing/py-gnuplot/APKBUILD
index 6e7c735e216d..5cb552a079e0 100644
--- a/testing/py-gnuplot/APKBUILD
+++ b/testing/py-gnuplot/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
 makedepends="$depends_dev python-dev"
 install=""
 subpackages=""
-source="saveas-http://prdownloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz?download/$_pkgname-$pkgver.tar.gz"
+source="$_pkgname-$pkgver.tar.gz::http://prdownloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz?download"
 
 _builddir="$srcdir"/$_pkgname-$pkgver
 prepare() {
diff --git a/testing/py-newt_syrup/APKBUILD b/testing/py-newt_syrup/APKBUILD
index fe2accbdf3c2..4270c8d0a0e1 100644
--- a/testing/py-newt_syrup/APKBUILD
+++ b/testing/py-newt_syrup/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
 makedepends="python-dev py-setuptools"
 install=""
 subpackages=""
-source="saveas-https://github.com/mcpierce/newt-syrup/archive/RELEASE-0.2.0.tar.gz/${pkgname}-${pkgver}.tar.gz"
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/mcpierce/newt-syrup/archive/RELEASE-0.2.0.tar.gz"
 
 _builddir="$srcdir"/${_realname}-RELEASE-$pkgver
 
diff --git a/testing/py-pygit2/APKBUILD b/testing/py-pygit2/APKBUILD
index fc15dd045a4e..4e225778cff3 100644
--- a/testing/py-pygit2/APKBUILD
+++ b/testing/py-pygit2/APKBUILD
@@ -9,7 +9,7 @@ arch=all
 license=GPLv2
 depends=
 makedepends="py-setuptools py-cffi python-dev libgit2-dev"
-source=saveas-https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz/pygit2-${pkgver}.tar.gz
+source=pygit2-${pkgver}.tar.gz::https://github.com/libgit2/pygit2/archive/v${pkgver}.tar.gz
 
 _builddir=$srcdir/pygit2-$pkgver
 prepare() {
diff --git a/testing/qpage/APKBUILD b/testing/qpage/APKBUILD
index 63adae631ac1..d3b181ef1362 100644
--- a/testing/qpage/APKBUILD
+++ b/testing/qpage/APKBUILD
@@ -11,7 +11,7 @@ depends=""
 depends_dev=
 makedepends="$depends_dev"
 install="$pkgname.pre-install $pkgname.post-install"
-source="saveas-http://archive.debian.org/debian/pool/non-free/q/$pkgname/"$pkgname"_3.3final.orig.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::http://archive.debian.org/debian/pool/non-free/q/$pkgname/"$pkgname"_3.3final.orig.tar.gz
 	config.input
 	qpage.initd
 	qpage.patch
diff --git a/testing/rocksdb/APKBUILD b/testing/rocksdb/APKBUILD
index 5037263f55ae..1105851e6946 100644
--- a/testing/rocksdb/APKBUILD
+++ b/testing/rocksdb/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="bzip2-dev snappy-dev zlib-dev"
 makedepends="$depends_dev linux-headers"
 install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-https://github.com/facebook/$pkgname/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/facebook/$pkgname/archive/v$pkgver.tar.gz
 	10-support-busybox-install.patch
 	20-skip-glibc-specific-features.patch"
 
diff --git a/testing/sch-cake-grsec/APKBUILD b/testing/sch-cake-grsec/APKBUILD
index 1cf6340e3849..bb9ce337f346 100644
--- a/testing/sch-cake-grsec/APKBUILD
+++ b/testing/sch-cake-grsec/APKBUILD
@@ -35,7 +35,7 @@ makedepends="linux-${_flavor}-dev=${_kernelver} linux-headers"
 install=
 install_if="linux-$_flavor=$_kernelver $_realname"
 subpackages=
-source="saveas-https://github.com/dtaht/sch_cake/archive/$_gitver.tar.gz/$_realname-$_gitver.tar.gz"
+source="$_realname-$_gitver.tar.gz::https://github.com/dtaht/sch_cake/archive/$_gitver.tar.gz"
 _builddir="$srcdir"/sch_cake-$_gitver
 
 prepare() {
diff --git a/testing/sl/APKBUILD b/testing/sl/APKBUILD
index feb4ed92705b..73b7eac50ad3 100644
--- a/testing/sl/APKBUILD
+++ b/testing/sl/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="$depends_dev ncurses-dev"
 install=""
 subpackages=""
-source="saveas-$url/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
 
 _builddir="$srcdir/$pkgname-$pkgver"
 build() {
diff --git a/testing/spacefm/APKBUILD b/testing/spacefm/APKBUILD
index 6e6c715ace34..8cd259b69e66 100644
--- a/testing/spacefm/APKBUILD
+++ b/testing/spacefm/APKBUILD
@@ -10,7 +10,7 @@ license="GPL3"
 depends="bash"
 makedepends="intltool gettext-dev gtk+2.0-dev gtk+3.0-dev eudev-dev ffmpegthumbnailer-dev linux-headers"
 subpackages="$pkgname-lang $pkgname-doc $pkgname-gtk3 $pkgname-gtk3-lang:lang3 $pkgname-gtk3-doc:doc3"
-source="saveas-https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/spacefm/archive/$pkgver.tar.gz"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 build() {
diff --git a/testing/sqm-scripts/APKBUILD b/testing/sqm-scripts/APKBUILD
index a3e8312de1e0..6e87de9c519b 100644
--- a/testing/sqm-scripts/APKBUILD
+++ b/testing/sqm-scripts/APKBUILD
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends="$depends_dev"
 install=""
 subpackages=""
-source="saveas-https://github.com/tohojo/sqm-scripts/archive/v${pkgver}.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/tohojo/sqm-scripts/archive/v${pkgver}.tar.gz
 	10-Makefile.patch
 	10-function.sh.patch
 	10-defaults.sh.patch"
diff --git a/testing/twemproxy/APKBUILD b/testing/twemproxy/APKBUILD
index 389eebe1c77f..a543278cf561 100644
--- a/testing/twemproxy/APKBUILD
+++ b/testing/twemproxy/APKBUILD
@@ -12,7 +12,7 @@ depends=""
 depends_dev=""
 makedepends="automake autoconf libtool yaml-dev"
 subpackages="$pkgname-doc"
-source="saveas-https://github.com/twitter/twemproxy/archive/v$pkgver.tar.gz/$pkgname-$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/twitter/twemproxy/archive/v$pkgver.tar.gz
 	nutcracker.initd
 	nutcracker.confd
 	use-system-libyaml.patch
diff --git a/testing/webalizer/APKBUILD b/testing/webalizer/APKBUILD
index 8c894bb565bd..c3d6c7a2a392 100644
--- a/testing/webalizer/APKBUILD
+++ b/testing/webalizer/APKBUILD
@@ -13,7 +13,7 @@ depends_dev=""
 makedepends="$depends_dev db-dev gd-dev libpng-dev zlib-dev bzip2-dev"
 install=""
 subpackages=""
-source="saveas-ftp://ftp.mrunix.net/pub/webalizer/webalizer-$_pkgver-src.tar.bz2/webalizer-$pkgver.tar.bz2"
+source="webalizer-$pkgver.tar.bz2::ftp://ftp.mrunix.net/pub/webalizer/webalizer-$_pkgver-src.tar.bz2"
 _builddir="$srcdir"/$pkgname-$_pkgver
 build() {
 	cd "$_builddir"
diff --git a/testing/xva-img/APKBUILD b/testing/xva-img/APKBUILD
index c97e9ae818ba..c4671053da8c 100644
--- a/testing/xva-img/APKBUILD
+++ b/testing/xva-img/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="openssl-dev"
 makedepends="$depends_dev cmake"
 install=""
 subpackages=""
-source="saveas-https://github.com/eriklax/xva-img/archive/v${pkgver}.tar.gz/xva-img-${pkgver}.tar.gz"
+source="xva-img-${pkgver}.tar.gz::https://github.com/eriklax/xva-img/archive/v${pkgver}.tar.gz"
 
 _srcroot="${srcdir}/${pkgname}-${pkgver}"
 _builddir="${srcdir}/build"
diff --git a/unmaintained/gtkimageview/APKBUILD b/unmaintained/gtkimageview/APKBUILD
index a6cb929e646e..058ec9f531f1 100644
--- a/unmaintained/gtkimageview/APKBUILD
+++ b/unmaintained/gtkimageview/APKBUILD
@@ -12,7 +12,7 @@ depends_dev="gtk+-dev gdk-pixbuf-dev"
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="saveas-http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/${pkgname}-${pkgver}.tar.gz?format=raw/${pkgname}-${pkgver}.tar.gz"
+source="${pkgname}-${pkgver}.tar.gz::http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/${pkgname}-${pkgver}.tar.gz?format=raw"
 
 _builddir="${srcdir}/${pkgname}-${pkgver}"
 prepare() {
-- 
GitLab