[arch-commits] Commit in typespeed/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Sep 6 22:09:25 UTC 2015
Date: Monday, September 7, 2015 @ 00:09:25
Author: foutrelis
Revision: 139398
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
typespeed/repos/community-staging-i686/
typespeed/repos/community-staging-i686/PKGBUILD
(from rev 139397, typespeed/trunk/PKGBUILD)
typespeed/repos/community-staging-i686/typespeed.install
(from rev 139397, typespeed/trunk/typespeed.install)
typespeed/repos/community-staging-x86_64/
typespeed/repos/community-staging-x86_64/PKGBUILD
(from rev 139397, typespeed/trunk/PKGBUILD)
typespeed/repos/community-staging-x86_64/typespeed.install
(from rev 139397, typespeed/trunk/typespeed.install)
--------------------------------------------+
community-staging-i686/PKGBUILD | 30 +++++++++++++++++++++++++++
community-staging-i686/typespeed.install | 16 ++++++++++++++
community-staging-x86_64/PKGBUILD | 30 +++++++++++++++++++++++++++
community-staging-x86_64/typespeed.install | 16 ++++++++++++++
4 files changed, 92 insertions(+)
Copied: typespeed/repos/community-staging-i686/PKGBUILD (from rev 139397, typespeed/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-06 22:09:25 UTC (rev 139398)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+
+pkgname=typespeed
+pkgver=0.6.5
+pkgrel=6
+pkgdesc="Test your typing speed, and get your fingers' CPS."
+arch=('i686' '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)
+md5sums=('578102b418c7df84903d3e90df2e7483')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
Copied: typespeed/repos/community-staging-i686/typespeed.install (from rev 139397, typespeed/trunk/typespeed.install)
===================================================================
--- community-staging-i686/typespeed.install (rev 0)
+++ community-staging-i686/typespeed.install 2015-09-06 22:09:25 UTC (rev 139398)
@@ -0,0 +1,16 @@
+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
+}
+
Copied: typespeed/repos/community-staging-x86_64/PKGBUILD (from rev 139397, typespeed/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-06 22:09:25 UTC (rev 139398)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+
+pkgname=typespeed
+pkgver=0.6.5
+pkgrel=6
+pkgdesc="Test your typing speed, and get your fingers' CPS."
+arch=('i686' '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)
+md5sums=('578102b418c7df84903d3e90df2e7483')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr \
+ --localstatedir=/var \
+ --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
Copied: typespeed/repos/community-staging-x86_64/typespeed.install (from rev 139397, typespeed/trunk/typespeed.install)
===================================================================
--- community-staging-x86_64/typespeed.install (rev 0)
+++ community-staging-x86_64/typespeed.install 2015-09-06 22:09:25 UTC (rev 139398)
@@ -0,0 +1,16 @@
+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