[arch-commits] Commit in tipp10/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


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

archrelease: copy trunk to community-x86_64

Added:
  tipp10/repos/community-x86_64/PKGBUILD
    (from rev 527197, tipp10/trunk/PKGBUILD)
Deleted:
  tipp10/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 26 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-13 22:48:22 UTC (rev 527197)
+++ PKGBUILD	2019-11-13 22:48:45 UTC (rev 527198)
@@ -1,38 +0,0 @@
-# Maintainer: 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"
-arch=('x86_64')
-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')
-
-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
-  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"
-}

Copied: tipp10/repos/community-x86_64/PKGBUILD (from rev 527197, tipp10/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-13 22:48:45 UTC (rev 527198)
@@ -0,0 +1,26 @@
+# 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.1.0
+pkgrel=1
+pkgdesc='Intelligent touch typing tutor'
+arch=('x86_64')
+url=https://gitlab.com/a_a/tipp10
+license=('GPL2')
+depends=('qt5-multimedia')
+makedepends=('cmake' 'qt5-tools')
+source=("$url/-/archive/v$pkgver/tipp10-v$pkgver.tar.gz")
+sha512sums=('492abb821d3fb9bc3b3d2733c4b5525346973267b57a2ce9e517fbf431983d88bea4114c6018985f5d6ea3d92bcfa808979f80585e5f1e61dc66be6e5a025650')
+
+build() {
+  cd tipp10-v$pkgver
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
+  make
+}
+
+package() {
+  cd tipp10-v$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list