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

Florian Pritz bluewind at archlinux.org
Sat Aug 31 07:40:38 UTC 2019


    Date: Saturday, August 31, 2019 @ 07:40:38
  Author: bluewind
Revision: 505553

upgpkg: tipp10 3.0.0-2

FIx FS#63160 - [tipp10] Initial launch fails: database cannot be imported

Modified:
  tipp10/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-31 07:35:28 UTC (rev 505552)
+++ PKGBUILD	2019-08-31 07:40:38 UTC (rev 505553)
@@ -3,7 +3,7 @@
 
 pkgname=tipp10
 pkgver=3.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="intelligent typing tutor"
 arch=('x86_64')
 url="https://gitlab.com/a_a/tipp10"
@@ -12,6 +12,13 @@
 source=(https://gitlab.com/a_a/tipp10/-/archive/v$pkgver/tipp10-v$pkgver.tar.gz)
 md5sums=('2ead321736d58a5be70442eeac90b0f1')
 
+prepare() {
+  cd tipp10-v$pkgver
+
+  # Fix FS#63160 - [tipp10] Initial launch fails: database cannot be imported
+  sed -i "s#QCoreApplication::applicationDirPath()#QString(\"/usr/share/tipp10\")#g" -- $(grep -lFr 'QCoreApplication::applicationDirPath()' .)
+}
+
 build() {
   cd tipp10-v$pkgver
 



More information about the arch-commits mailing list