[arch-commits] Commit in typespeed/trunk (PKGBUILD typespeed.install)

Eli Schwartz eschwartz at archlinux.org
Tue Jan 9 03:00:21 UTC 2018


    Date: Tuesday, January 9, 2018 @ 03:00:20
  Author: eschwartz
Revision: 280607

upgpkg: typespeed 0.6.5-7

- HTTPS sources.
- The "games" user has a different uid now, provided by filesystem.
- The --makescores option seems to be completely gone in the code, and served
  no purpose. Take advantage of the opportunity to completely get rid of the
  install script.

Modified:
  typespeed/trunk/PKGBUILD
Deleted:
  typespeed/trunk/typespeed.install

-------------------+
 PKGBUILD          |    8 ++++----
 typespeed.install |   16 ----------------
 2 files changed, 4 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-09 00:58:20 UTC (rev 280606)
+++ PKGBUILD	2018-01-09 03:00:20 UTC (rev 280607)
@@ -1,17 +1,16 @@
 # $Id$
 # Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Angel Velasquez <angvp at archlinux.org>
 
 pkgname=typespeed
 pkgver=0.6.5
-pkgrel=6
+pkgrel=7
 pkgdesc="Test your typing speed, and get your fingers' CPS."
 arch=('x86_64')
 url="http://typespeed.sourceforge.net"
 license=('GPL')
 depends=('ncurses')
-install=$pkgname.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('578102b418c7df84903d3e90df2e7483')
 
 build() {
@@ -27,4 +26,5 @@
   cd "$srcdir/$pkgname-$pkgver"
 
   make DESTDIR="$pkgdir" install
+  chown root:50 "$pkgdir"/usr/share/typespeed/*
 }

Deleted: typespeed.install
===================================================================
--- typespeed.install	2018-01-09 00:58:20 UTC (rev 280606)
+++ typespeed.install	2018-01-09 03:00:20 UTC (rev 280607)
@@ -1,16 +0,0 @@
-post_install() {
-	getent group games > /dev/null || /usr/sbin/groupadd -g 20 games
-	/usr/bin/typespeed --makescores
-	chown root.20 /usr/share/typespeed/*
-}
-
-post_upgrade() {
-	getent group games > /dev/null || /usr/sbin/groupadd -g 20 games
-	/usr/bin/typespeed --makescores
-	chown root.20 /usr/share/typespeed/*
-}
-
-pre_remove() {
-/bin/true
-}
-



More information about the arch-commits mailing list