--- kcheckers-0.8.1.orig/debian/watch
+++ kcheckers-0.8.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/qcheckers/(?:.)checkers-(\d.*)\.tar\..*
--- kcheckers-0.8.1.orig/debian/control
+++ kcheckers-0.8.1/debian/control
@@ -0,0 +1,23 @@
+Source: kcheckers
+Section: games
+Priority: optional
+Maintainer: Bart Martens <bartm@debian.org>
+Build-Depends: cdbs, debhelper (>= 5), libqt4-dev
+Standards-Version: 3.7.3
+Homepage: http://qcheckers.sourceforge.net/
+
+Package: kcheckers
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Checkers boardgame
+ kcheckers is a Qt version of the classic boardgame "checkers", also known as
+ "draughts".  It has the following features:
+  * Built-in checkers engine.
+  * Beginner, Novice, Average, Good, Expert and Master levels of skill.
+  * Several themes of the board.
+  * Portable Draughts Notation database format support.
+  * Saving, loading and restarting of game.
+  * Auto change of the men's color.
+  * Multiple Undos/Redos.
+  * Optional numeration of the board.
+  * Internationalization support (English, German, Russian and French).
--- kcheckers-0.8.1.orig/debian/menu
+++ kcheckers-0.8.1/debian/menu
@@ -0,0 +1,2 @@
+?package(kcheckers):needs="X11" section="Games/Board"\
+  title="kcheckers" command="/usr/games/kcheckers"
--- kcheckers-0.8.1.orig/debian/compat
+++ kcheckers-0.8.1/debian/compat
@@ -0,0 +1 @@
+5
--- kcheckers-0.8.1.orig/debian/rules
+++ kcheckers-0.8.1/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_INSTALL_DOCS_ALL += FAQ
--- kcheckers-0.8.1.orig/debian/changelog
+++ kcheckers-0.8.1/debian/changelog
@@ -0,0 +1,13 @@
+kcheckers (0.8.1-2) unstable; urgency=low
+
+  * debian/watch, debian/copyright, debian/control: Upstream website has moved
+    to sourceforge.net.
+
+ -- Bart Martens <bartm@debian.org>  Sat, 26 Apr 2008 10:24:16 +0200
+
+kcheckers (0.8.1-1) unstable; urgency=low
+
+  * Initial release.  Closes: #309910.
+
+ -- Bart Martens <bartm@knars.be>  Wed, 22 Nov 2006 18:03:29 +0100
+
--- kcheckers-0.8.1.orig/debian/copyright
+++ kcheckers-0.8.1/debian/copyright
@@ -0,0 +1,38 @@
+This package was debianized by Bart Martens <bartm@knars.be> on
+Wed, 22 Nov 2006 18:03:29 +0100.
+
+It was downloaded from:
+
+   http://wibix.de/infusions/pro_download_panel/download.php?did=15
+   http://sourceforge.net/projects/qcheckers
+
+Upstream Author:
+
+   Andi Peredri <andi@ukr.net>
+   Artur Wiebe <wibix@gmx.de>
+
+Copyright (C) 2002-2003 Andi Peredri <andi@ukr.net>
+Copyright (C) 2004-2005 Artur Wiebe <wibix@gmx.de>
+
+License:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is
+Copyright (C) 2006-2008, Bart Martens <bartm@knars.be>
+and is licensed under the GPL, see above.
--- kcheckers-0.8.1.orig/debian/patches/01_prefix.diff
+++ kcheckers-0.8.1/debian/patches/01_prefix.diff
@@ -0,0 +1,23 @@
+--- orig/kcheckers-0.8.1/common.h	2005-12-29 18:53:16.000000000 +0100
++++ kcheckers-0.8.1/common.h	2006-11-22 19:55:52.000000000 +0100
+@@ -35,7 +35,7 @@
+ 
+ /* !!! Do not change PREFIX variable name, please. !!! */
+ /* !!! It is used in kcheckers.pro. !!! */
+-#define PREFIX		"/usr/local"
++#define PREFIX		"/usr"
+ #define USER_PATH	".kcheckers"		// in $HOME
+ #define THEME_DIR	"themes/"
+ 
+--- orig/kcheckers-0.8.1/kcheckers.pro	2005-12-29 18:55:55.000000000 +0100
++++ kcheckers-0.8.1/kcheckers.pro	2006-11-22 20:03:17.000000000 +0100
+@@ -21,8 +21,7 @@
+ 
+ 
+ TARGET		= kcheckers
+-PREFIX		= $$system(grep 'define PREFIX' common.h | cut -d'"' -f2)
+-SHARE_PATH	= $$system(grep 'define SHARE_PATH' common.h | cut -d'"' -f2)
++PREFIX		= /usr
+ 
+ TRANSLATIONS	= i18n/kcheckers_de.ts i18n/kcheckers_fr.ts
+ #		i18n/kcheckers_ru.ts
--- kcheckers-0.8.1.orig/debian/patches/03_bin_games.diff
+++ kcheckers-0.8.1/debian/patches/03_bin_games.diff
@@ -0,0 +1,11 @@
+--- orig/kcheckers-0.8.1/kcheckers.pro	2005-12-29 18:55:55.000000000 +0100
++++ kcheckers-0.8.1/kcheckers.pro	2006-11-22 19:12:28.000000000 +0100
+@@ -27,7 +27,7 @@
+ TRANSLATIONS	= i18n/kcheckers_de.ts i18n/kcheckers_fr.ts
+ #		i18n/kcheckers_ru.ts
+ 
+-target.path	= $$PREFIX/bin
++target.path	= $$PREFIX/games
+ INSTALLS	+= target
+ 
+ 
--- kcheckers-0.8.1.orig/debian/patches/02_doc.diff
+++ kcheckers-0.8.1/debian/patches/02_doc.diff
@@ -0,0 +1,10 @@
+--- orig/kcheckers-0.8.1/kcheckers.pro	2005-12-29 18:55:55.000000000 +0100
++++ kcheckers-0.8.1/kcheckers.pro	2006-11-22 19:08:16.000000000 +0100
+@@ -35,6 +35,6 @@
+ # This hack is needed for i18n support.
+ #
+ share.path	+= $$PREFIX/share/kcheckers
+-share.files	+= kcheckers.pdn COPYING AUTHORS ChangeLog README themes i18n/*
++share.files	+= kcheckers.pdn themes i18n/*
+ INSTALLS	+= share
+ 
