summaryrefslogtreecommitdiff
path: root/community/cuyo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/cuyo
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/cuyo')
-rw-r--r--community/cuyo/PKGBUILD34
-rw-r--r--community/cuyo/cuyo.changelog8
-rw-r--r--community/cuyo/cuyo.diff6
-rw-r--r--community/cuyo/cuyo.install12
4 files changed, 60 insertions, 0 deletions
diff --git a/community/cuyo/PKGBUILD b/community/cuyo/PKGBUILD
new file mode 100644
index 000000000..dfcd2ffc3
--- /dev/null
+++ b/community/cuyo/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 84769 2013-02-24 13:12:51Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+pkgname=cuyo
+pkgver=2.0.0
+pkgrel=1
+epoch=1
+pkgdesc="Tetris-style puzzle game for up to two players with a twist"
+arch=('i686' 'x86_64')
+url="http://www.karimmi.de/cuyo/"
+license=('GPL')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'sdl' 'sdl_mixer' 'sdl_image' 'xdg-utils')
+makedepends=('patch')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz \
+ $pkgname.diff)
+sha256sums=('531cfb989087199f643ac4b18ff9cc50793cc3fa07ee06f394f73d153c09ae34'
+ 'efceed1489c551f5ae8909df3ad57f302f8105cbb1e735d8ece44269e886ce7c')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ patch -Np0 -i ${srcdir}/$pkgname.diff
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/cuyo/cuyo.changelog b/community/cuyo/cuyo.changelog
new file mode 100644
index 000000000..f7e64c7af
--- /dev/null
+++ b/community/cuyo/cuyo.changelog
@@ -0,0 +1,8 @@
+2013-02-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * cuyo 2.0.0-1
+
+2011-12-18 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * cuyo 2.~1.2-1
+
+2009-11-16 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * Update to minor release 2.~1.1-4
diff --git a/community/cuyo/cuyo.diff b/community/cuyo/cuyo.diff
new file mode 100644
index 000000000..e38fedbdf
--- /dev/null
+++ b/community/cuyo/cuyo.diff
@@ -0,0 +1,6 @@
+--- icons/cuyo.desktop~ 2011-03-26 16:20:01.000000000 +0100
++++ icons/cuyo.desktop 2013-02-24 14:00:34.385662015 +0100
+@@ -7 +6,0 @@
+-Encoding=UTF-8
+@@ -8,0 +8 @@
++Comment[cs]=Hra podobná tetrisu s mnoha úrovněmi
diff --git a/community/cuyo/cuyo.install b/community/cuyo/cuyo.install
new file mode 100644
index 000000000..3e6bc7c16
--- /dev/null
+++ b/community/cuyo/cuyo.install
@@ -0,0 +1,12 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}