From c471e756e4cb9296fe0e3336681efc613316ade0 Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Wed, 22 Aug 2018 21:15:40 +0900
Subject: [PATCH] Fix URL

---
 app/configs/application.json | 2 +-
 pkg/archlinux/PKGBUILD       | 4 ++--
 pkg/fedora/ocs-url.spec      | 4 ++--
 pkg/opensuse/ocs-url.spec    | 4 ++--
 pkg/ubuntu/debian/copyright  | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/app/configs/application.json b/app/configs/application.json
index 7404696..a1acafb 100644
--- a/app/configs/application.json
+++ b/app/configs/application.json
@@ -9,5 +9,5 @@
     "license": "GPL-3+",
     "author": "Opendesktop.org",
     "contact": "contact@opendesktop.org",
-    "homepage": "https://www.opencode.net/OCS/ocs-url"
+    "homepage": "https://gitlab.opencode.net/OCS/ocs-url"
 }
diff --git a/pkg/archlinux/PKGBUILD b/pkg/archlinux/PKGBUILD
index 5df934a..123cc21 100644
--- a/pkg/archlinux/PKGBUILD
+++ b/pkg/archlinux/PKGBUILD
@@ -5,11 +5,11 @@ pkgver='3.1.0'
 pkgrel='1'
 pkgdesc='An install helper program for items served via OpenCollaborationServices (ocs://).'
 arch=('i686' 'x86_64')
-url='https://www.opencode.net/OCS/ocs-url'
+url='https://gitlab.opencode.net/OCS/ocs-url'
 license=('GPL3')
 depends=('qt5-base>=5.2.0' 'qt5-svg>=5.2.0' 'qt5-declarative>=5.2.0' 'qt5-quickcontrols>=5.2.0')
 makedepends=('git')
-#source=("https://www.opencode.net/OCS/ocs-url/archive/release-${pkgver}.tar.gz")
+#source=("https://gitlab.opencode.net/OCS/ocs-url/-/archive/release-${pkgver}/ocs-url-release-${pkgver}.tar.gz")
 source=("${pkgname}.tar.gz")
 md5sums=() #autofill using updpkgsums
 
diff --git a/pkg/fedora/ocs-url.spec b/pkg/fedora/ocs-url.spec
index d443056..fba7389 100644
--- a/pkg/fedora/ocs-url.spec
+++ b/pkg/fedora/ocs-url.spec
@@ -4,9 +4,9 @@ Version: 3.1.0
 Release: 1%{?dist}
 License: GPLv3+
 Group: Applications/Internet
-URL: https://www.opencode.net/OCS/ocs-url
+URL: https://gitlab.opencode.net/OCS/ocs-url
 
-#Source0: https://www.opencode.net/OCS/ocs-url/archive/release-%{version}.tar.gz
+#Source0: https://gitlab.opencode.net/OCS/ocs-url/-/archive/release-%{version}/ocs-url-release-%{version}.tar.gz
 Source0: %{name}.tar.gz
 
 Requires: qt5-qtbase >= 5.2.0, qt5-qtbase-gui >= 5.2.0, qt5-qtsvg >= 5.2.0, qt5-qtdeclarative >= 5.2.0, qt5-qtquickcontrols >= 5.2.0
diff --git a/pkg/opensuse/ocs-url.spec b/pkg/opensuse/ocs-url.spec
index 85893b6..f6d1c38 100644
--- a/pkg/opensuse/ocs-url.spec
+++ b/pkg/opensuse/ocs-url.spec
@@ -4,9 +4,9 @@ Version: 3.1.0
 Release: 1%{?dist}
 License: GPLv3+
 Group: Applications/Internet
-URL: https://www.opencode.net/OCS/ocs-url
+URL: https://gitlab.opencode.net/OCS/ocs-url
 
-#Source0: https://www.opencode.net/OCS/ocs-url/archive/release-%{version}.tar.gz
+#Source0: https://gitlab.opencode.net/OCS/ocs-url/-/archive/release-%{version}/ocs-url-release-%{version}.tar.gz
 Source0: %{name}.tar.gz
 
 Requires: libQt5Svg5 >= 5.2.0, libqt5-qtquickcontrols >= 5.2.0
diff --git a/pkg/ubuntu/debian/copyright b/pkg/ubuntu/debian/copyright
index 722ab6a..3df02e4 100644
--- a/pkg/ubuntu/debian/copyright
+++ b/pkg/ubuntu/debian/copyright
@@ -1,7 +1,7 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: ocs-url
 Upstream-Contact: Opendesktop.org <contact@opendesktop.org>
-Source: https://www.opencode.net/OCS/ocs-url
+Source: https://gitlab.opencode.net/OCS/ocs-url
 
 Files: *
 Copyright: 2016-2018, Opendesktop.org
-- 
GitLab