[arch-commits] Commit in mlite/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Mar 2 21:44:08 UTC 2022


    Date: Wednesday, March 2, 2022 @ 21:44:08
  Author: felixonmars
Revision: 1139947

upgpkg: mlite 0.3.8-1

Modified:
  mlite/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-02 21:43:22 UTC (rev 1139946)
+++ PKGBUILD	2022-03-02 21:44:08 UTC (rev 1139947)
@@ -1,19 +1,19 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=mlite
-pkgver=0.3.7
+pkgver=0.3.8
 pkgrel=1
 pkgdesc="Useful classes originating from MeeGo Touch"
 arch=('x86_64')
-url="https://git.sailfishos.org/mer-core/mlite"
+url="https://github.com/sailfishos/mlite"
 license=('LGPL')
 depends=('qt5-base' 'dconf')
-makedepends=('git' 'qt5-tools')
-source=("git+https://git.sailfishos.org/mer-core/mlite.git#tag=$pkgver")
-sha512sums=('SKIP')
+makedepends=('qt5-tools')
+source=("https://github.com/sailfishos/mlite/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('8cbe1e8f216430a19465e50f9a04a6a7cedef984234ea87138963d9d1c6939006302a7cbeaa2bdc6e4fcea864bcbefc81c7f7ae2ef788b13e151b1b6397de6f7')
 
 prepare() {
-  cd mlite
+  cd mlite-$pkgver
   sed -i -e 's|/usr/libexec|/usr/lib|' \
       tools/mliteremoteaction/mliteremoteaction.pro \
       tools/mliteremoteaction/main.cpp \
@@ -21,15 +21,13 @@
 }
 
 build() {
-  cd mlite
-
-  qmake-qt5
+  cd mlite-$pkgver
+  qmake-qt5 VERSION=$pkgver
   make
 }
 
 package() {
-  cd mlite
-
+  cd mlite-$pkgver
   make INSTALL_ROOT="$pkgdir" install
 
   # Remove tests



More information about the arch-commits mailing list