[arch-commits] Commit in klavaro/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:37:37 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:37:36
  Author: felixonmars
Revision: 658162

archrelease: copy trunk to community-staging-x86_64

Added:
  klavaro/repos/community-staging-x86_64/
  klavaro/repos/community-staging-x86_64/PKGBUILD
    (from rev 658161, klavaro/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: klavaro/repos/community-staging-x86_64/PKGBUILD (from rev 658161, klavaro/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:37:36 UTC (rev 658162)
@@ -0,0 +1,27 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+pkgname=klavaro
+pkgver=3.09
+pkgrel=3
+pkgdesc="Free touch typing tutor program"
+arch=('x86_64')
+url="http://klavaro.sourceforge.net/"
+license=('GPL2')
+depends=('curl' 'gtk3' 'hicolor-icon-theme')
+makedepends=('intltool')
+optdepends=('espeakup: voice output')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname/$pkgname-$pkgver.tar.bz2")
+sha256sums=('9983e501563a4d05e429700a2bd5bb078ac43b2f0d4014864e3cac42e0a1f589')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  sed -i 's|/usr/share/icons/hicolor/24x24/apps/klavaro.png|klavaro|' \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+}



More information about the arch-commits mailing list