[arch-commits] Commit in gtypist/repos/community-x86_64 (4 files)
Date: Thursday, May 31, 2018 @ 14:05:40 Author: grazzolini Revision: 334840 archrelease: copy trunk to community-x86_64 Added: gtypist/repos/community-x86_64/PKGBUILD (from rev 334839, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/ncurses.patch (from rev 334839, gtypist/trunk/ncurses.patch) Deleted: gtypist/repos/community-x86_64/PKGBUILD gtypist/repos/community-x86_64/ncurses.patch ---+ PKGBUILD | 74 +++ ncurses.patch | 180 2 files changed, 127 insertions(+), 127 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-05-31 14:05:06 UTC (rev 334839) +++ PKGBUILD2018-05-31 14:05:40 UTC (rev 334840) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Pierre Neidhardt -# Contributor: Sergej Pupykin -# Contributor: Ben Mazer -# Contributor: Mike Douglas - -pkgname=gtypist -pkgver=2.9.5 -pkgrel=4 -pkgdesc="universal typing tutor" -arch=('x86_64') -url="http://www.gnu.org/software/gtypist/gtypist.html"; -license=("GPL") -depends=('ncurses' 'perl') -makedepends=('emacs') -source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz - ncurses.patch) -md5sums=('6098c32890f2437384b5efe4e993fb32' - 'a836141e70941b7e0d3477bc8ecdecdf') - -prepare() { - cd "$srcdir"/$pkgname-$pkgver - patch -p1 <"$srcdir"/ncurses.patch - autoreconf -} - -build() { - cd "$srcdir"/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir"/$pkgname-$pkgver - make prefix="$pkgdir"/usr install - rm -f "$pkgdir"/usr/share/info/dir -} Copied: gtypist/repos/community-x86_64/PKGBUILD (from rev 334839, gtypist/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-05-31 14:05:40 UTC (rev 334840) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Pierre Neidhardt +# Contributor: Sergej Pupykin +# Contributor: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.5 +pkgrel=5 +pkgdesc="universal typing tutor" +arch=('x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('6098c32890f2437384b5efe4e993fb32' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 <"$srcdir"/ncurses.patch + autoreconf +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make prefix="$pkgdir"/usr install + rm -f "$pkgdir"/usr/share/info/dir +} Deleted: ncurses.patch === --- ncurses.patch 2018-05-31 14:05:06 UTC (rev 334839) +++ ncurses.patch 2018-05-31 14:05:40 UTC (rev 334840) @@ -1,90 +0,0 @@ -diff -wbBur gtypist-2.9.4/configure.ac gtypist-2.9.4.my/configure.ac gtypist-2.9.4/configure.ac 2014-02-02 15:38:40.0 +0400 -+++ gtypist-2.9.4.my/configure.ac 2014-02-03 13:08:53.085983684 +0400 -@@ -44,20 +44,20 @@ - AC_FUNC_STRTOD - AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) - --# check for libncursesw -+# check for libncurses - --AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) --AC_CHECK_LIB(ncursesw, add_wch, HAVE_LIBNCURSESW=1) -+AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) -+AC_CHECK_LIB(ncurses, add_wch, HAVE_LIBNCURSESW=1) - if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then -- LIBS="-lncursesw $LIBS" -+ LIBS="-lncurses $LIBS" - else -- echo -e "Error: both library and header files for the ncursesw library\n"\ -+ echo -e "Error: both library and header files for the ncurses library\n"\ -"are required to build this package. See INSTALL file for"\ -"further information. On Debian/Ubuntu you need to install libncursesw5-dev." -exit 1; - fi - AC_SEARCH_LIBS(cbreak, tinfo, [], -- [AC_MSG_ERROR([Can't find cbreak() in -lncursesw or -ltinfo])]) -+ [AC_MSG_ERROR([Can't find cbreak() in -lncurses or -ltinfo])]) - - - # iconv -diff -wbBur gtypist-2.9.4/src/cursmenu.c gtypist-2.9.4.my/src/cursmenu.c gtypist-2.9.4/src/cursmenu.c 2013-08-18 18:36:14.0 +0400 -+++ gtypist-2.9.4.my/src/cursmenu.c2014-02-03 13:09:04.669316878 +0400 -@@ -24,7 +24,7 @@ - #ifdef HAVE_PDCURSES - #include - #else --#include -+#include - #endif - - #include "error.h" -diff -wbBur gtypist-2.9.4/src/error.c gtypist-2.9.4.my/src/error.c gtypist-2.9.4/src/error.c 2013-08-18 18:36:14.0 +0400 -+++ gtypist-2.9.4.my/src/error.c 2014-02-03 13:09:04.669316878 +0400 -@@ -25,7 +25,7 @@ - #ifdef HAVE_PDCURSES - #include - #else --#
[arch-commits] Commit in gtypist/trunk (PKGBUILD)
Date: Thursday, May 31, 2018 @ 14:05:06 Author: grazzolini Revision: 334839 upgpkg: gtypist 2.9.5-5 Modified: gtypist/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-05-31 14:03:11 UTC (rev 334838) +++ PKGBUILD2018-05-31 14:05:06 UTC (rev 334839) @@ -6,7 +6,7 @@ pkgname=gtypist pkgver=2.9.5 -pkgrel=4 +pkgrel=5 pkgdesc="universal typing tutor" arch=('x86_64') url="http://www.gnu.org/software/gtypist/gtypist.html";
[arch-commits] Commit in (gtypist gtypist/trunk/PKGBUILD)
Date: Friday, January 12, 2018 @ 13:25:38 Author: ambrevar Revision: 281575 gtypist: Move from AUR to community Added: gtypist/ Modified: gtypist/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: gtypist/trunk/PKGBUILD === --- gtypist/trunk/PKGBUILD 2018-01-05 20:15:12 UTC (rev 279322) +++ gtypist/trunk/PKGBUILD 2018-01-12 13:25:38 UTC (rev 281575) @@ -1,11 +1,12 @@ # $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Ben Mazer +# Maintainer: Pierre Neidhardt +# Contributor: Sergej Pupykin +# Contributor: Ben Mazer # Contributor: Mike Douglas pkgname=gtypist pkgver=2.9.5 -pkgrel=3 +pkgrel=4 pkgdesc="universal typing tutor" arch=('x86_64') url="http://www.gnu.org/software/gtypist/gtypist.html";
[arch-commits] Commit in gtypist/repos (3 files)
Date: Friday, January 12, 2018 @ 13:26:03 Author: ambrevar Revision: 281576 archrelease: copy trunk to community-x86_64 Added: gtypist/repos/community-x86_64/ gtypist/repos/community-x86_64/PKGBUILD (from rev 281575, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/ncurses.patch (from rev 281575, gtypist/trunk/ncurses.patch) ---+ PKGBUILD | 37 +++ ncurses.patch | 90 2 files changed, 127 insertions(+) Copied: gtypist/repos/community-x86_64/PKGBUILD (from rev 281575, gtypist/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-01-12 13:26:03 UTC (rev 281576) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Pierre Neidhardt +# Contributor: Sergej Pupykin +# Contributor: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.5 +pkgrel=4 +pkgdesc="universal typing tutor" +arch=('x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('6098c32890f2437384b5efe4e993fb32' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + patch -p1 <"$srcdir"/ncurses.patch + autoreconf +} + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make prefix="$pkgdir"/usr install + rm -f "$pkgdir"/usr/share/info/dir +} Copied: gtypist/repos/community-x86_64/ncurses.patch (from rev 281575, gtypist/trunk/ncurses.patch) === --- community-x86_64/ncurses.patch (rev 0) +++ community-x86_64/ncurses.patch 2018-01-12 13:26:03 UTC (rev 281576) @@ -0,0 +1,90 @@ +diff -wbBur gtypist-2.9.4/configure.ac gtypist-2.9.4.my/configure.ac +--- gtypist-2.9.4/configure.ac 2014-02-02 15:38:40.0 +0400 gtypist-2.9.4.my/configure.ac 2014-02-03 13:08:53.085983684 +0400 +@@ -44,20 +44,20 @@ + AC_FUNC_STRTOD + AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) + +-# check for libncursesw ++# check for libncurses + +-AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) +-AC_CHECK_LIB(ncursesw, add_wch, HAVE_LIBNCURSESW=1) ++AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) ++AC_CHECK_LIB(ncurses, add_wch, HAVE_LIBNCURSESW=1) + if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then +- LIBS="-lncursesw $LIBS" ++ LIBS="-lncurses $LIBS" + else +- echo -e "Error: both library and header files for the ncursesw library\n"\ ++ echo -e "Error: both library and header files for the ncurses library\n"\ +"are required to build this package. See INSTALL file for"\ +"further information. On Debian/Ubuntu you need to install libncursesw5-dev." +exit 1; + fi + AC_SEARCH_LIBS(cbreak, tinfo, [], +- [AC_MSG_ERROR([Can't find cbreak() in -lncursesw or -ltinfo])]) ++ [AC_MSG_ERROR([Can't find cbreak() in -lncurses or -ltinfo])]) + + + # iconv +diff -wbBur gtypist-2.9.4/src/cursmenu.c gtypist-2.9.4.my/src/cursmenu.c +--- gtypist-2.9.4/src/cursmenu.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/cursmenu.c2014-02-03 13:09:04.669316878 +0400 +@@ -24,7 +24,7 @@ + #ifdef HAVE_PDCURSES + #include + #else +-#include ++#include + #endif + + #include "error.h" +diff -wbBur gtypist-2.9.4/src/error.c gtypist-2.9.4.my/src/error.c +--- gtypist-2.9.4/src/error.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/error.c 2014-02-03 13:09:04.669316878 +0400 +@@ -25,7 +25,7 @@ + #ifdef HAVE_PDCURSES + #include + #else +-#include ++#include + #endif + + #include +diff -wbBur gtypist-2.9.4/src/gtypist.c gtypist-2.9.4.my/src/gtypist.c +--- gtypist-2.9.4/src/gtypist.c2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/gtypist.c 2014-02-03 13:09:04.669316878 +0400 +@@ -31,7 +31,7 @@ + #ifdef HAVE_PDCURSES + #include + #else +-#include ++#include + #endif + + #include +diff -wbBur gtypist-2.9.4/src/script.c gtypist-2.9.4.my/src/script.c +--- gtypist-2.9.4/src/script.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/script.c 2014-02-03 13:09:04.669316878 +0400 +@@ -24,7 +24,7 @@ + #ifdef HAVE_PDCURSES + #include + #else +-#include ++#include + #endif + + #include "error.h" +diff -wbBur gtypist-2.9.4/src/utf8.c gtypist-2.9.4.my/src/utf8.c +--- gtypist-2.9.4/src/utf8.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/utf8.c2014-02-03 13:09:04.669316878 +0400 +@@ -23,7 +23,7 @@ + #ifdef HAVE_PDCURSES + #include + #else +-#include
[arch-commits] Commit in (gtypist)
Date: Friday, January 5, 2018 @ 20:15:35 Author: bpiotrowski Revision: 279323 gtypist: move to AUR Deleted: gtypist/
[arch-commits] Commit in gtypist/repos (10 files)
Date: Thursday, April 28, 2016 @ 01:02:18 Author: spupykin Revision: 172275 archrelease: copy trunk to community-i686, community-x86_64 Added: gtypist/repos/community-i686/PKGBUILD (from rev 172274, gtypist/trunk/PKGBUILD) gtypist/repos/community-i686/ncurses.patch (from rev 172274, gtypist/trunk/ncurses.patch) gtypist/repos/community-x86_64/PKGBUILD (from rev 172274, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/ncurses.patch (from rev 172274, gtypist/trunk/ncurses.patch) Deleted: gtypist/repos/community-i686/PKGBUILD gtypist/repos/community-i686/gtypist.install gtypist/repos/community-i686/ncurses.patch gtypist/repos/community-x86_64/PKGBUILD gtypist/repos/community-x86_64/gtypist.install gtypist/repos/community-x86_64/ncurses.patch --+ /PKGBUILD| 72 ++ /ncurses.patch | 180 + community-i686/PKGBUILD | 37 --- community-i686/gtypist.install | 18 --- community-i686/ncurses.patch | 90 -- community-x86_64/PKGBUILD| 37 --- community-x86_64/gtypist.install | 18 --- community-x86_64/ncurses.patch | 90 -- 8 files changed, 252 insertions(+), 290 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2016-04-27 23:02:04 UTC (rev 172274) +++ community-i686/PKGBUILD 2016-04-27 23:02:18 UTC (rev 172275) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Ben Mazer -# Contributor: Mike Douglas - -pkgname=gtypist -pkgver=2.9.5 -pkgrel=2 -pkgdesc="universal typing tutor" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gtypist/gtypist.html"; -license=("GPL") -depends=('ncurses' 'perl') -makedepends=('emacs') -install=gtypist.install -source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz - ncurses.patch) -md5sums=('6098c32890f2437384b5efe4e993fb32' - 'a836141e70941b7e0d3477bc8ecdecdf') - -prepare() { - cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/ncurses.patch - autoreconf -} - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr install - rm -f $pkgdir/usr/share/info/dir -} Copied: gtypist/repos/community-i686/PKGBUILD (from rev 172274, gtypist/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-04-27 23:02:18 UTC (rev 172275) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.5 +pkgrel=3 +pkgdesc="universal typing tutor" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('6098c32890f2437384b5efe4e993fb32' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/ncurses.patch + autoreconf +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + rm -f $pkgdir/usr/share/info/dir +} Deleted: community-i686/gtypist.install === --- community-i686/gtypist.install 2016-04-27 23:02:04 UTC (rev 172274) +++ community-i686/gtypist.install 2016-04-27 23:02:18 UTC (rev 172275) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(gtypist.info) - -post_install() { - for file in ${filelist[@]}; do -install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} Deleted: community-i686/ncurses.patch === --- community-i686/ncurses.patch2016-04-27 23:02:04 UTC (rev 172274) +++ community-i686/ncurses.patch2016-04-27 23:02:18 UTC (rev 172275) @@ -1,90 +0,0 @@ -diff -wbBur gtypist-2.9.4/configure.ac gtypist-2.9.4.my/configure.ac gtypist-2.9.4/configure.ac 2014-02-02 15:38:40.0 +0400 -+++ gtypist-2.9.4.my/configure.ac 2014-02-03 13:08:53.085983684 +0400 -@@ -44,20 +44,20 @@ - AC_FUNC_STRTOD - AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) - --# check for libncursesw -+# check for libncurses - --AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) --AC_CHECK_LIB(ncu
[arch-commits] Commit in gtypist/trunk (PKGBUILD)
Date: Thursday, April 28, 2016 @ 01:02:04 Author: spupykin Revision: 172274 upgpkg: gtypist 2.9.5-3 upd Modified: gtypist/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-04-27 23:01:59 UTC (rev 172273) +++ PKGBUILD2016-04-27 23:02:04 UTC (rev 172274) @@ -5,7 +5,7 @@ pkgname=gtypist pkgver=2.9.5 -pkgrel=2 +pkgrel=3 pkgdesc="universal typing tutor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gtypist/gtypist.html";
[arch-commits] Commit in gtypist/repos (8 files)
Date: Thursday, September 10, 2015 @ 06:38:44 Author: allan Revision: 139745 archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: gtypist/repos/community-staging-i686/ gtypist/repos/community-staging-i686/PKGBUILD (from rev 139744, gtypist/trunk/PKGBUILD) gtypist/repos/community-staging-i686/gtypist.install (from rev 139744, gtypist/trunk/gtypist.install) gtypist/repos/community-staging-i686/ncurses.patch (from rev 139744, gtypist/trunk/ncurses.patch) gtypist/repos/community-staging-x86_64/ gtypist/repos/community-staging-x86_64/PKGBUILD (from rev 139744, gtypist/trunk/PKGBUILD) gtypist/repos/community-staging-x86_64/gtypist.install (from rev 139744, gtypist/trunk/gtypist.install) gtypist/repos/community-staging-x86_64/ncurses.patch (from rev 139744, gtypist/trunk/ncurses.patch) --+ community-staging-i686/PKGBUILD | 37 +++ community-staging-i686/gtypist.install | 18 + community-staging-i686/ncurses.patch | 90 + community-staging-x86_64/PKGBUILD| 37 +++ community-staging-x86_64/gtypist.install | 18 + community-staging-x86_64/ncurses.patch | 90 + 6 files changed, 290 insertions(+) Copied: gtypist/repos/community-staging-i686/PKGBUILD (from rev 139744, gtypist/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-09-10 04:38:44 UTC (rev 139745) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.5 +pkgrel=2 +pkgdesc="universal typing tutor" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +install=gtypist.install +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('6098c32890f2437384b5efe4e993fb32' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/ncurses.patch + autoreconf +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + rm -f $pkgdir/usr/share/info/dir +} Copied: gtypist/repos/community-staging-i686/gtypist.install (from rev 139744, gtypist/trunk/gtypist.install) === --- community-staging-i686/gtypist.install (rev 0) +++ community-staging-i686/gtypist.install 2015-09-10 04:38:44 UTC (rev 139745) @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gtypist.info) + +post_install() { + for file in ${filelist[@]}; do +install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do +install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} Copied: gtypist/repos/community-staging-i686/ncurses.patch (from rev 139744, gtypist/trunk/ncurses.patch) === --- community-staging-i686/ncurses.patch(rev 0) +++ community-staging-i686/ncurses.patch2015-09-10 04:38:44 UTC (rev 139745) @@ -0,0 +1,90 @@ +diff -wbBur gtypist-2.9.4/configure.ac gtypist-2.9.4.my/configure.ac +--- gtypist-2.9.4/configure.ac 2014-02-02 15:38:40.0 +0400 gtypist-2.9.4.my/configure.ac 2014-02-03 13:08:53.085983684 +0400 +@@ -44,20 +44,20 @@ + AC_FUNC_STRTOD + AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) + +-# check for libncursesw ++# check for libncurses + +-AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) +-AC_CHECK_LIB(ncursesw, add_wch, HAVE_LIBNCURSESW=1) ++AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) ++AC_CHECK_LIB(ncurses, add_wch, HAVE_LIBNCURSESW=1) + if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then +- LIBS="-lncursesw $LIBS" ++ LIBS="-lncurses $LIBS" + else +- echo -e "Error: both library and header files for the ncursesw library\n"\ ++ echo -e "Error: both library and header files for the ncurses library\n"\ +"are required to build this package. See INSTALL file for"\ +"further information. On Debian/Ubuntu you need to install libncursesw5-dev." +exit 1; + fi + AC_SEARCH_LIBS(cbreak, tinfo, [], +- [AC_MSG_ERROR([Can't find cbreak() in -lncursesw or -ltinfo])]) ++ [AC_MSG_ERROR([Can't find cbreak() in -lncurses or -ltinfo])]) + + + # iconv +diff -wbBur gtypist-2.9.4/src/cursmenu.c gtypist-2.9.4.my/src/cursmenu.c
[arch-commits] Commit in gtypist/trunk (PKGBUILD)
Date: Thursday, September 10, 2015 @ 06:37:36 Author: allan Revision: 139744 ncurses 6.0 rebuild. Modified: gtypist/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-09-10 04:35:03 UTC (rev 139743) +++ PKGBUILD2015-09-10 04:37:36 UTC (rev 139744) @@ -5,7 +5,7 @@ pkgname=gtypist pkgver=2.9.5 -pkgrel=1 +pkgrel=2 pkgdesc="universal typing tutor" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gtypist/gtypist.html";
[arch-commits] Commit in gtypist/repos (12 files)
Date: Tuesday, August 12, 2014 @ 19:00:03 Author: spupykin Revision: 117314 archrelease: copy trunk to community-i686, community-x86_64 Added: gtypist/repos/community-i686/PKGBUILD (from rev 117313, gtypist/trunk/PKGBUILD) gtypist/repos/community-i686/gtypist.install (from rev 117313, gtypist/trunk/gtypist.install) gtypist/repos/community-i686/ncurses.patch (from rev 117313, gtypist/trunk/ncurses.patch) gtypist/repos/community-x86_64/PKGBUILD (from rev 117313, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/gtypist.install (from rev 117313, gtypist/trunk/gtypist.install) gtypist/repos/community-x86_64/ncurses.patch (from rev 117313, gtypist/trunk/ncurses.patch) Deleted: gtypist/repos/community-i686/PKGBUILD gtypist/repos/community-i686/gtypist.install gtypist/repos/community-i686/ncurses.patch gtypist/repos/community-x86_64/PKGBUILD gtypist/repos/community-x86_64/gtypist.install gtypist/repos/community-x86_64/ncurses.patch --+ /PKGBUILD| 74 +++ /gtypist.install | 36 +++ /ncurses.patch | 180 + community-i686/PKGBUILD | 37 --- community-i686/gtypist.install | 18 --- community-i686/ncurses.patch | 90 -- community-x86_64/PKGBUILD| 37 --- community-x86_64/gtypist.install | 18 --- community-x86_64/ncurses.patch | 90 -- 9 files changed, 290 insertions(+), 290 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-08-12 16:59:48 UTC (rev 117313) +++ community-i686/PKGBUILD 2014-08-12 17:00:03 UTC (rev 117314) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Ben Mazer -# Contributor: Mike Douglas - -pkgname=gtypist -pkgver=2.9.4 -pkgrel=1 -pkgdesc="universal typing tutor" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gtypist/gtypist.html"; -license=("GPL") -depends=('ncurses' 'perl') -makedepends=('emacs') -install=gtypist.install -source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz - ncurses.patch) -md5sums=('1b6acd602996b86f8967ab7693b06ec8' - 'a836141e70941b7e0d3477bc8ecdecdf') - -prepare() { - cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/ncurses.patch - autoreconf -} - -build() { - cd $srcdir/$pkgname-$pkgver - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr install - rm -f $pkgdir/usr/share/info/dir -} Copied: gtypist/repos/community-i686/PKGBUILD (from rev 117313, gtypist/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-08-12 17:00:03 UTC (rev 117314) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.5 +pkgrel=1 +pkgdesc="universal typing tutor" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +install=gtypist.install +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('6098c32890f2437384b5efe4e993fb32' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/ncurses.patch + autoreconf +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + rm -f $pkgdir/usr/share/info/dir +} Deleted: community-i686/gtypist.install === --- community-i686/gtypist.install 2014-08-12 16:59:48 UTC (rev 117313) +++ community-i686/gtypist.install 2014-08-12 17:00:03 UTC (rev 117314) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(gtypist.info) - -post_install() { - for file in ${filelist[@]}; do -install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} Copied: gtypist/repos/community-i686/gtypist.install (from rev 117313, gtypist/trunk/gtypist.install) === --- community-i686/gtypist.install (rev 0) +++ community-i686/gtypist.install 2014-08-12 17:00:03 UTC (rev 117314) @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gtypist.info) + +post_install() { + for file in ${filelist[@]}; do +install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() {
[arch-commits] Commit in gtypist/trunk (PKGBUILD)
Date: Tuesday, August 12, 2014 @ 18:59:48 Author: spupykin Revision: 117313 upgpkg: gtypist 2.9.5-1 upd Modified: gtypist/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-08-12 16:59:37 UTC (rev 117312) +++ PKGBUILD2014-08-12 16:59:48 UTC (rev 117313) @@ -4,7 +4,7 @@ # Contributor: Mike Douglas pkgname=gtypist -pkgver=2.9.4 +pkgver=2.9.5 pkgrel=1 pkgdesc="universal typing tutor" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ install=gtypist.install source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz ncurses.patch) -md5sums=('1b6acd602996b86f8967ab7693b06ec8' +md5sums=('6098c32890f2437384b5efe4e993fb32' 'a836141e70941b7e0d3477bc8ecdecdf') prepare() {
[arch-commits] Commit in gtypist/repos (12 files)
Date: Monday, February 3, 2014 @ 10:21:09 Author: spupykin Revision: 105230 archrelease: copy trunk to community-i686, community-x86_64 Added: gtypist/repos/community-i686/PKGBUILD (from rev 105229, gtypist/trunk/PKGBUILD) gtypist/repos/community-i686/gtypist.install (from rev 105229, gtypist/trunk/gtypist.install) gtypist/repos/community-i686/ncurses.patch (from rev 105229, gtypist/trunk/ncurses.patch) gtypist/repos/community-x86_64/PKGBUILD (from rev 105229, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/gtypist.install (from rev 105229, gtypist/trunk/gtypist.install) gtypist/repos/community-x86_64/ncurses.patch (from rev 105229, gtypist/trunk/ncurses.patch) Deleted: gtypist/repos/community-i686/PKGBUILD gtypist/repos/community-i686/gtypist.install gtypist/repos/community-i686/ncurses.patch gtypist/repos/community-x86_64/PKGBUILD gtypist/repos/community-x86_64/gtypist.install gtypist/repos/community-x86_64/ncurses.patch --+ /PKGBUILD| 74 +++ /gtypist.install | 36 +++ /ncurses.patch | 180 + community-i686/PKGBUILD | 33 -- community-i686/gtypist.install | 18 --- community-i686/ncurses.patch | 83 - community-x86_64/PKGBUILD| 33 -- community-x86_64/gtypist.install | 18 --- community-x86_64/ncurses.patch | 83 - 9 files changed, 290 insertions(+), 268 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2014-02-03 09:20:55 UTC (rev 105229) +++ community-i686/PKGBUILD 2014-02-03 09:21:09 UTC (rev 105230) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Ben Mazer -# Contributor: Mike Douglas - -pkgname=gtypist -pkgver=2.9.3 -pkgrel=1 -pkgdesc="universal typing tutor" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gtypist/gtypist.html"; -license=("GPL") -depends=('ncurses' 'perl') -makedepends=('emacs') -install=gtypist.install -source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz - ncurses.patch) -md5sums=('e26c29be0adf345604a802be81712bee' - 'e37a2e8fe90c6c0c684c1a12d016ee03') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/ncurses.patch - autoreconf - ./configure --prefix=/usr - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make prefix=$pkgdir/usr install - rm -f $pkgdir/usr/share/info/dir -} Copied: gtypist/repos/community-i686/PKGBUILD (from rev 105229, gtypist/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-02-03 09:21:09 UTC (rev 105230) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.4 +pkgrel=1 +pkgdesc="universal typing tutor" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +install=gtypist.install +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('1b6acd602996b86f8967ab7693b06ec8' + 'a836141e70941b7e0d3477bc8ecdecdf') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/ncurses.patch + autoreconf +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + rm -f $pkgdir/usr/share/info/dir +} Deleted: community-i686/gtypist.install === --- community-i686/gtypist.install 2014-02-03 09:20:55 UTC (rev 105229) +++ community-i686/gtypist.install 2014-02-03 09:21:09 UTC (rev 105230) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(gtypist.info) - -post_install() { - for file in ${filelist[@]}; do -install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} Copied: gtypist/repos/community-i686/gtypist.install (from rev 105229, gtypist/trunk/gtypist.install) === --- community-i686/gtypist.install (rev 0) +++ community-i686/gtypist.install 2014-02-03 09:21:09 UTC (rev 105230) @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gtypist.info) + +post_install() { + for file in ${filelist[@]}; do +install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do +install-info
[arch-commits] Commit in gtypist/trunk (PKGBUILD ncurses.patch)
Date: Monday, February 3, 2014 @ 10:20:55 Author: spupykin Revision: 105229 upgpkg: gtypist 2.9.4-1 upd Modified: gtypist/trunk/PKGBUILD gtypist/trunk/ncurses.patch ---+ PKGBUILD | 12 ncurses.patch | 49 - 2 files changed, 36 insertions(+), 25 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-02-03 09:20:50 UTC (rev 105228) +++ PKGBUILD2014-02-03 09:20:55 UTC (rev 105229) @@ -4,7 +4,7 @@ # Contributor: Mike Douglas pkgname=gtypist -pkgver=2.9.3 +pkgver=2.9.4 pkgrel=1 pkgdesc="universal typing tutor" arch=('i686' 'x86_64') @@ -15,13 +15,17 @@ install=gtypist.install source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz ncurses.patch) -md5sums=('e26c29be0adf345604a802be81712bee' - 'e37a2e8fe90c6c0c684c1a12d016ee03') +md5sums=('1b6acd602996b86f8967ab7693b06ec8' + 'a836141e70941b7e0d3477bc8ecdecdf') -build() { +prepare() { cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/ncurses.patch autoreconf +} + +build() { + cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr make } Modified: ncurses.patch === --- ncurses.patch 2014-02-03 09:20:50 UTC (rev 105228) +++ ncurses.patch 2014-02-03 09:20:55 UTC (rev 105229) @@ -1,7 +1,7 @@ -diff -wbBur gtypist-2.9.3/configure.ac gtypist-2.9.3.q/configure.ac gtypist-2.9.3/configure.ac 2013-06-05 22:50:00.0 +0400 -+++ gtypist-2.9.3.q/configure.ac 2013-06-10 13:32:54.284038071 +0400 -@@ -44,14 +44,14 @@ +diff -wbBur gtypist-2.9.4/configure.ac gtypist-2.9.4.my/configure.ac +--- gtypist-2.9.4/configure.ac 2014-02-02 15:38:40.0 +0400 gtypist-2.9.4.my/configure.ac 2014-02-03 13:08:53.085983684 +0400 +@@ -44,20 +44,20 @@ AC_FUNC_STRTOD AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) @@ -18,12 +18,19 @@ else - echo -e "Error: both library and header files for the ncursesw library\n"\ + echo -e "Error: both library and header files for the ncurses library\n"\ - "are required to build this package. See INSTALL file for"\ - "further information. On Debian/Ubuntu you need to install libncursesw5-dev." +"are required to build this package. See INSTALL file for"\ +"further information. On Debian/Ubuntu you need to install libncursesw5-dev." exit 1; -diff -wbBur gtypist-2.9.3/src/cursmenu.c gtypist-2.9.3.q/src/cursmenu.c gtypist-2.9.3/src/cursmenu.c 2013-06-05 22:50:00.0 +0400 -+++ gtypist-2.9.3.q/src/cursmenu.c 2013-06-10 13:33:16.610704480 +0400 + fi + AC_SEARCH_LIBS(cbreak, tinfo, [], +- [AC_MSG_ERROR([Can't find cbreak() in -lncursesw or -ltinfo])]) ++ [AC_MSG_ERROR([Can't find cbreak() in -lncurses or -ltinfo])]) + + + # iconv +diff -wbBur gtypist-2.9.4/src/cursmenu.c gtypist-2.9.4.my/src/cursmenu.c +--- gtypist-2.9.4/src/cursmenu.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/cursmenu.c2014-02-03 13:09:04.669316878 +0400 @@ -24,7 +24,7 @@ #ifdef HAVE_PDCURSES #include @@ -33,9 +40,9 @@ #endif #include "error.h" -diff -wbBur gtypist-2.9.3/src/error.c gtypist-2.9.3.q/src/error.c gtypist-2.9.3/src/error.c 2013-06-05 22:50:00.0 +0400 -+++ gtypist-2.9.3.q/src/error.c2013-06-10 13:33:26.124037704 +0400 +diff -wbBur gtypist-2.9.4/src/error.c gtypist-2.9.4.my/src/error.c +--- gtypist-2.9.4/src/error.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/error.c 2014-02-03 13:09:04.669316878 +0400 @@ -25,7 +25,7 @@ #ifdef HAVE_PDCURSES #include @@ -45,9 +52,9 @@ #endif #include -diff -wbBur gtypist-2.9.3/src/gtypist.c gtypist-2.9.3.q/src/gtypist.c gtypist-2.9.3/src/gtypist.c2013-06-05 22:50:00.0 +0400 -+++ gtypist-2.9.3.q/src/gtypist.c 2013-06-10 13:33:18.844037788 +0400 +diff -wbBur gtypist-2.9.4/src/gtypist.c gtypist-2.9.4.my/src/gtypist.c +--- gtypist-2.9.4/src/gtypist.c2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/gtypist.c 2014-02-03 13:09:04.669316878 +0400 @@ -31,7 +31,7 @@ #ifdef HAVE_PDCURSES #include @@ -57,9 +64,9 @@ #endif #include -diff -wbBur gtypist-2.9.3/src/script.c gtypist-2.9.3.q/src/script.c gtypist-2.9.3/src/script.c 2013-06-05 22:50:00.0 +0400 -+++ gtypist-2.9.3.q/src/script.c 2013-06-10 13:33:21.067371095 +0400 +diff -wbBur gtypist-2.9.4/src/script.c gtypist-2.9.4.my/src/script.c +--- gtypist-2.9.4/src/script.c 2013-08-18 18:36:14.0 +0400 gtypist-2.9.4.my/src/script.c 2014-02-03 13:09:04.669316878 +0400 @@ -24,7 +24,7 @@ #ifdef HAVE_PDCURSES #include @@ -69,9 +76,9 @@ #endif #include "error.h" -diff -wbBur gtypis
[arch-commits] Commit in gtypist/repos (12 files)
Date: Monday, June 10, 2013 @ 11:42:13 Author: spupykin Revision: 92635 archrelease: copy trunk to community-i686, community-x86_64 Added: gtypist/repos/community-i686/PKGBUILD (from rev 92634, gtypist/trunk/PKGBUILD) gtypist/repos/community-i686/gtypist.install (from rev 92634, gtypist/trunk/gtypist.install) gtypist/repos/community-i686/ncurses.patch (from rev 92634, gtypist/trunk/ncurses.patch) gtypist/repos/community-x86_64/PKGBUILD (from rev 92634, gtypist/trunk/PKGBUILD) gtypist/repos/community-x86_64/gtypist.install (from rev 92634, gtypist/trunk/gtypist.install) gtypist/repos/community-x86_64/ncurses.patch (from rev 92634, gtypist/trunk/ncurses.patch) Deleted: gtypist/repos/community-i686/PKGBUILD gtypist/repos/community-i686/gtypist.install gtypist/repos/community-i686/ncurses.patch gtypist/repos/community-x86_64/PKGBUILD gtypist/repos/community-x86_64/gtypist.install gtypist/repos/community-x86_64/ncurses.patch --+ /PKGBUILD| 66 ++ /gtypist.install | 36 /ncurses.patch | 166 + community-i686/PKGBUILD | 28 -- community-i686/gtypist.install | 18 community-i686/ncurses.patch | 117 -- community-x86_64/PKGBUILD| 28 -- community-x86_64/gtypist.install | 18 community-x86_64/ncurses.patch | 117 -- 9 files changed, 268 insertions(+), 326 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2013-06-10 09:41:53 UTC (rev 92634) +++ community-i686/PKGBUILD 2013-06-10 09:42:13 UTC (rev 92635) @@ -1,28 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Ben Mazer -# Contributor: Mike Douglas - -pkgname=gtypist -pkgver=2.9.2 -pkgrel=1 -pkgdesc="universal typing tutor" -arch=('i686' 'x86_64') -url="http://www.gnu.org/software/gtypist/gtypist.html"; -license=("GPL") -depends=('ncurses' 'perl') -makedepends=('emacs') -install=gtypist.install -source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz - ncurses.patch) -md5sums=('e6f5ce16d3bdb335f7c698957bc54526' - 'ba5e990d948ba5019391094dac890aa6') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -p1 <$srcdir/ncurses.patch - ./configure --prefix=/usr - make - make prefix=$pkgdir/usr install - rm -f $pkgdir/usr/share/info/dir -} Copied: gtypist/repos/community-i686/PKGBUILD (from rev 92634, gtypist/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-06-10 09:42:13 UTC (rev 92635) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Maintainer: Ben Mazer +# Contributor: Mike Douglas + +pkgname=gtypist +pkgver=2.9.3 +pkgrel=1 +pkgdesc="universal typing tutor" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gtypist/gtypist.html"; +license=("GPL") +depends=('ncurses' 'perl') +makedepends=('emacs') +install=gtypist.install +source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz + ncurses.patch) +md5sums=('e26c29be0adf345604a802be81712bee' + 'e37a2e8fe90c6c0c684c1a12d016ee03') + +build() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/ncurses.patch + autoreconf + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install + rm -f $pkgdir/usr/share/info/dir +} Deleted: community-i686/gtypist.install === --- community-i686/gtypist.install 2013-06-10 09:41:53 UTC (rev 92634) +++ community-i686/gtypist.install 2013-06-10 09:42:13 UTC (rev 92635) @@ -1,18 +0,0 @@ -infodir=/usr/share/info -filelist=(gtypist.info) - -post_install() { - for file in ${filelist[@]}; do -install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for file in ${filelist[@]}; do -install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} Copied: gtypist/repos/community-i686/gtypist.install (from rev 92634, gtypist/trunk/gtypist.install) === --- community-i686/gtypist.install (rev 0) +++ community-i686/gtypist.install 2013-06-10 09:42:13 UTC (rev 92635) @@ -0,0 +1,18 @@ +infodir=/usr/share/info +filelist=(gtypist.info) + +post_install() { + for file in ${filelist[@]}; do +install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do +install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} Deleted: community-i686/ncurses.patch ==
[arch-commits] Commit in gtypist/trunk (PKGBUILD ncurses.patch)
Date: Monday, June 10, 2013 @ 11:41:53 Author: spupykin Revision: 92634 upgpkg: gtypist 2.9.3-1 upd Modified: gtypist/trunk/PKGBUILD gtypist/trunk/ncurses.patch ---+ PKGBUILD |7 ++-- ncurses.patch | 96 ++-- 2 files changed, 35 insertions(+), 68 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-06-10 09:13:55 UTC (rev 92633) +++ PKGBUILD2013-06-10 09:41:53 UTC (rev 92634) @@ -4,7 +4,7 @@ # Contributor: Mike Douglas pkgname=gtypist -pkgver=2.9.2 +pkgver=2.9.3 pkgrel=1 pkgdesc="universal typing tutor" arch=('i686' 'x86_64') @@ -15,12 +15,13 @@ install=gtypist.install source=(ftp://ftp.gnu.org/gnu/gtypist/$pkgname-$pkgver.tar.gz ncurses.patch) -md5sums=('e6f5ce16d3bdb335f7c698957bc54526' - 'ba5e990d948ba5019391094dac890aa6') +md5sums=('e26c29be0adf345604a802be81712bee' + 'e37a2e8fe90c6c0c684c1a12d016ee03') build() { cd $srcdir/$pkgname-$pkgver patch -p1 <$srcdir/ncurses.patch + autoreconf ./configure --prefix=/usr make } Modified: ncurses.patch === --- ncurses.patch 2013-06-10 09:13:55 UTC (rev 92633) +++ ncurses.patch 2013-06-10 09:41:53 UTC (rev 92634) @@ -1,63 +1,29 @@ -diff -wbBur gtypist-2.9.1/configure gtypist-2.9.1.my/configure gtypist-2.9.1/configure2011-11-29 00:14:11.0 +0400 -+++ gtypist-2.9.1.my/configure 2011-11-29 13:03:51.0 +0400 -@@ -4011,13 +4011,13 @@ - ALL_LINGUAS="cs de es eu fi fr nl pl ru tr zh_CN zh_TW" +diff -wbBur gtypist-2.9.3/configure.ac gtypist-2.9.3.q/configure.ac +--- gtypist-2.9.3/configure.ac 2013-06-05 22:50:00.0 +0400 gtypist-2.9.3.q/configure.ac 2013-06-10 13:32:54.284038071 +0400 +@@ -44,14 +44,14 @@ + AC_FUNC_STRTOD + AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify dcgettext getcwd getwd mempcpy memset munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul]) - # Checks for libraries. --{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_wch in -lncursesw" >&5 --$as_echo_n "checking for add_wch in -lncursesw... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_wch in -lncurses" >&5 -+$as_echo_n "checking for add_wch in -lncurses... " >&6; } - if ${ac_cv_lib_ncursesw_add_wch+:} false; then : - $as_echo_n "(cached) " >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lncursesw $LIBS" -+LIBS="-lncurses $LIBS" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ +-# check for libncursesw ++# check for libncurses -@@ -4464,7 +4464,7 @@ - done - - --ac_fn_c_check_header_mongrel "$LINENO" "ncursesw/ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" -+ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncursesw_ncurses_h" "$ac_includes_default" - if test "x$ac_cv_header_ncursesw_ncurses_h" = xyes; then : - HAVE_NCURSESW_H=1 - fi -@@ -4473,7 +4473,7 @@ - - # sanity check for libncursesw: +-AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) +-AC_CHECK_LIB(ncursesw, add_wch, HAVE_LIBNCURSESW=1) ++AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) ++AC_CHECK_LIB(ncurses, add_wch, HAVE_LIBNCURSESW=1) if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then - LIBS="-lncursesw $LIBS" + LIBS="-lncurses $LIBS" else -echo -e "Error: both library and header files for the ncursesw library\n"\ +- echo -e "Error: both library and header files for the ncursesw library\n"\ ++ echo -e "Error: both library and header files for the ncurses library\n"\ "are required to build this package. See INSTALL file for"\ -diff -wbBur gtypist-2.9.1/configure.ac gtypist-2.9.1.my/configure.ac gtypist-2.9.1/configure.ac 2011-11-21 03:27:02.0 +0400 -+++ gtypist-2.9.1.my/configure.ac 2011-11-29 13:02:53.0 +0400 -@@ -21,13 +21,13 @@ - ALL_LINGUAS="cs de es eu fi fr nl pl ru tr zh_CN zh_TW" - - # Checks for libraries. --AC_CHECK_LIB(ncursesw, add_wch, HAVE_LIBNCURSESW=1) -+AC_CHECK_LIB(ncurses, add_wch, HAVE_LIBNCURSESW=1) - - # Checks for header files. - AC_HEADER_STDC - AC_CHECK_HEADERS([unistd.h alloca.h argz.h errno.h fcntl.h langinfo.h libintl.h limits.h locale.h malloc.h stddef.h stdio_ext.h stdlib.h string.h strings.h sys/param.h unistd.h]) - --AC_CHECK_HEADER(ncursesw/ncurses.h, HAVE_NCURSESW_H=1) -+AC_CHECK_HEADER(ncurses.h, HAVE_NCURSESW_H=1) - - # sanity check for libncursesw: - if test -n "$HAVE_NCURSESW_H" -a -n "$HAVE_LIBNCURSESW"; then -diff -wbBur gtypist-2.9.1/src/cursmenu.c gtypist-2.9.1.my/src/cursmenu.c gtypist-2.9.1/src/cursmenu.c 2011-11-01 04:13:02.0 +0400 -+++ gtypist-2.9.1.my/src/cursmenu.c2011-11-29 13:04:15.0 +0400 + "further information. On Debian/Ubuntu you need to install libncursesw5-dev." +exit 1; +diff -wbBur gty