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

Daniel M. Capella polyzen at archlinux.org
Wed Nov 13 22:48:23 UTC 2019


    Date: Wednesday, November 13, 2019 @ 22:48:22
  Author: polyzen
Revision: 527197

upgpkg: tipp10 3.1.0-1

Modified:
  tipp10/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++----------------------
 1 file changed, 10 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-13 22:01:49 UTC (rev 527196)
+++ PKGBUILD	2019-11-13 22:48:22 UTC (rev 527197)
@@ -1,38 +1,26 @@
-# Maintainer: Florian Pritz <flo at xinu.at>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
 # Contributor: toliman <altergan at hs-albsig.de>
 
 pkgname=tipp10
-pkgver=3.0.0
-pkgrel=2
-pkgdesc="intelligent typing tutor"
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='Intelligent touch typing tutor'
 arch=('x86_64')
-url="https://gitlab.com/a_a/tipp10"
+url=https://gitlab.com/a_a/tipp10
 license=('GPL2')
 depends=('qt5-multimedia')
-source=(https://gitlab.com/a_a/tipp10/-/archive/v$pkgver/tipp10-v$pkgver.tar.gz)
-md5sums=('2ead321736d58a5be70442eeac90b0f1')
+makedepends=('cmake' 'qt5-tools')
+source=("$url/-/archive/v$pkgver/tipp10-v$pkgver.tar.gz")
+sha512sums=('492abb821d3fb9bc3b3d2733c4b5525346973267b57a2ce9e517fbf431983d88bea4114c6018985f5d6ea3d92bcfa808979f80585e5f1e61dc66be6e5a025650')
 
-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
-
-  qmake-qt5
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
   make
 }
 
 package() {
   cd tipp10-v$pkgver
-
   make DESTDIR="$pkgdir" install
-
-  install -Dm755 tipp10 "$pkgdir/usr/bin/tipp10"
-  install -Dm644 release/tipp10v2.template "$pkgdir/usr/share/tipp10/tipp10v2.template"
-  install -Dm644 tipp10.png "$pkgdir/usr/share/pixmaps/tipp10.png"
-  install -Dm644 tipp10.desktop "$pkgdir/usr/share/applications/tipp10.desktop"
 }



More information about the arch-commits mailing list