aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-03 19:54:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-03 19:54:11 +0000
commite5055ad583bb78dba75d943bcef5921f19e0d63d (patch)
treef9d7d66081a801f039784fe961599caadc4f972e /main
parent81085c757a67246ed11c43d96437a57a4c055072 (diff)
downloadaports-e5055ad583bb78dba75d943bcef5921f19e0d63d.tar.bz2
aports-e5055ad583bb78dba75d943bcef5921f19e0d63d.tar.xz
main/eboard: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/eboard/APKBUILD44
-rw-r--r--main/eboard/eboard.desktop7
2 files changed, 51 insertions, 0 deletions
diff --git a/main/eboard/APKBUILD b/main/eboard/APKBUILD
new file mode 100644
index 0000000000..9d832bb860
--- /dev/null
+++ b/main/eboard/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=eboard
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Chess board interface for ICS"
+url="http://www.bergo.eng.br/eboard"
+arch="all"
+license="GPLv2+"
+depends=
+makedepends="gtk+2.0-dev perl"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://prdownloads.sourceforge.net/eboard/eboard-$pkgver.tar.bz2
+ eboard.desktop"
+
+_builddir="$srcdir"/eboard-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --man-prefix=/usr/share/man \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 "$srcdir"/eboard.desktop \
+ "$pkgdir"/usr/share/applications/eboard.desktop
+}
+
+md5sums="03dcdaa2bc85218b1b18c4bee276fea7 eboard-1.1.1.tar.bz2
+70f985b6841c2e6374555a5a4c0cca79 eboard.desktop"
diff --git a/main/eboard/eboard.desktop b/main/eboard/eboard.desktop
new file mode 100644
index 0000000000..28d0b2fee7
--- /dev/null
+++ b/main/eboard/eboard.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Eboard
+Comment=Play chess against an engine, on a LAN or on the Internet
+Exec=eboard
+Terminal=false
+Type=Application
+Categories=Game;BoardGame;