git » signon-plugin-oauth2.git » commit 6cc96ea

Update source (FS#70800)

author Antonio Rojas
2021-05-11 16:30:26 UTC
committer Antonio Rojas
2021-05-11 16:30:26 UTC
parent 62b3a5f9651eb128d4fbbde4352b860a5f510bf6

Update source (FS#70800)

PKGBUILD +6 -6

diff --git a/PKGBUILD b/PKGBUILD
index 59909d3..9476765 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,15 +7,15 @@ pkgver=0.25
 pkgrel=1
 pkgdesc='OAuth 2 plugin for signon'
 arch=(x86_64)
-url="https://gitlab.com/accounts-sso/signon-plugin-oauth2"
+url='https://gitlab.com/accounts-sso/signon-plugin-oauth2'
 license=(LGPL)
 depends=(signond)
 makedepends=(qt5-xmlpatterns)
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.gz?ref=VERSION_$pkgver")
-sha256sums=('f750a1e767c1977d73895b7aa7d5dca5494e4cbc53cf57c7e6c311933701ae52')
+source=(https://gitlab.com/accounts-sso/signon-plugin-oauth2/-/archive/VERSION_$pkgver/signon-plugin-oauth2-VERSION_$pkgver.tar.bz2)
+sha256sums=('04ce8d84f2beb29ca86399794519c2d0bbecf7c428fd9e6c01d7f3614a9ba98e')
 
 prepare() {
-  cd signon-plugin-oauth2-VERSION_$pkgver-*
+  cd $pkgname-VERSION_$pkgver
 
   sed -i '/-Werror/d' common-project-config.pri
 
@@ -25,14 +25,14 @@ prepare() {
 }
 
 build() {
-  cd signon-plugin-oauth2-VERSION_$pkgver-*
+  cd $pkgname-VERSION_$pkgver
 
   qmake-qt5 PREFIX=/usr LIBDIR=/usr/lib
   make
 }
 
 package() {
-  cd signon-plugin-oauth2-VERSION_$pkgver-*
+  cd $pkgname-VERSION_$pkgver
 
   make INSTALL_ROOT="$pkgdir" install
 }