[arch-commits] Commit in accounts-qml-module/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Jun 7 20:09:11 UTC 2021


    Date: Monday, June 7, 2021 @ 20:09:10
  Author: arojas
Revision: 417325

Fix source (FS#71165)

Modified:
  accounts-qml-module/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-07 19:41:58 UTC (rev 417324)
+++ PKGBUILD	2021-06-07 20:09:10 UTC (rev 417325)
@@ -2,28 +2,27 @@
 
 pkgname=accounts-qml-module
 pkgver=0.7
-pkgrel=3
-pkgdesc="Expose the Online Accounts API to QML applications"
-url="https://gitlab.com/accounts-sso/accounts-qml-module"
+pkgrel=4
+pkgdesc='Expose the Online Accounts API to QML applications'
+url='https://gitlab.com/accounts-sso/accounts-qml-module'
 arch=(x86_64)
 license=(LGPL)
 depends=(signond libaccounts-qt qt5-declarative)
 makedepends=(qt5-tools)
-source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/accounts-sso/$pkgname/repository/archive.tar.gz?ref=VERSION_$pkgver"
-         accounts-qml-module-qmltypes.patch::"https://gitlab.com/accounts-sso/accounts-qml-module/-/commit/678c493a.patch")
-sha256sums=('bea8a35c0d250196247b57ca6152f91f9ea3fe0da0623d87ed3698e3cc459bf4'
+source=(https://gitlab.com/accounts-sso/$pkgname/-/archive/VERSION_$pkgver/$pkgname-VERSION_$pkgver.tar.gz
+        accounts-qml-module-qmltypes.patch::https://gitlab.com/accounts-sso/accounts-qml-module/-/commit/678c493a.patch)
+sha256sums=('550a6c684bf4b4f6460a35bac0cf3afbb9090a5cf4038b880c6b86c2e9ea0195'
             'ae1142ba51f261a9e5c128fcb6c7518c642fc17ce0d908e31e8af14440db9faa')
 
 prepare() {
   mkdir -p build
-  mv $pkgname-VERSION* $pkgname
-  sed -e 's/-Werror//' -i $pkgname/common-project-config.pri
-  patch -d $pkgname -p1 -i ../accounts-qml-module-qmltypes.patch
+  sed -e 's/-Werror//' -i $pkgname-VERSION_$pkgver/common-project-config.pri
+  patch -d $pkgname-VERSION_$pkgver -p1 -i ../accounts-qml-module-qmltypes.patch
 }
 
 build() {
   cd build 
-  qmake-qt5 ../$pkgname/$pkgname.pro PREFIX=/usr
+  qmake-qt5 ../$pkgname-VERSION_$pkgver/$pkgname.pro PREFIX=/usr
   make
 }
 



More information about the arch-commits mailing list