summaryrefslogtreecommitdiff
path: root/community/ltris
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/ltris
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/ltris')
-rw-r--r--community/ltris/PKGBUILD34
-rw-r--r--community/ltris/ltris.changelog30
-rw-r--r--community/ltris/ltris.install4
3 files changed, 68 insertions, 0 deletions
diff --git a/community/ltris/PKGBUILD b/community/ltris/PKGBUILD
new file mode 100644
index 000000000..17db56fa0
--- /dev/null
+++ b/community/ltris/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 60814 2011-12-18 17:13:32Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: SmackleFunky <smacklefunky@optusnet.com.au>
+
+pkgname=ltris
+pkgver=1.0.18
+pkgrel=1
+pkgdesc="A tetris clone where you have a bowl with blocks falling down"
+arch=('i686' 'x86_64')
+url="http://lgames.sourceforge.net/index.php?project=LTris"
+license=('GPL')
+depends=('sdl_mixer')
+backup=('var/games/ltris.hscr')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://downloads.sourceforge.net/lgames/$pkgname-$pkgver.tar.gz)
+sha256sums=('3cba90365d50e79601368499af77d54cb03c0cf2544324e5df246eb1eeaa0e30')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --localstatedir=/var/games
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ install -d ${pkgdir}/usr/share/pixmaps
+ install -m644 icons/ltris{16,32,48}.xpm ${pkgdir}/usr/share/pixmaps
+}
diff --git a/community/ltris/ltris.changelog b/community/ltris/ltris.changelog
new file mode 100644
index 000000000..4cf7b905f
--- /dev/null
+++ b/community/ltris/ltris.changelog
@@ -0,0 +1,30 @@
+2011-12-18 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+ * ltris 1.0.18-1
+ * Upstream update
+
+2011-08-28 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+ * ltris 1.0.17-1
+ * Upstream update
+
+2011-03-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+ * ltris 1.0.16-1
+ * Upstream update
+
+2009-12-29 Eric Belanger <eric@archlinux.org>
+
+ * ltris 1.0.14-1
+ * Upstream update
+
+2009-11-07 Eric Belanger <eric@archlinux.org>
+
+ * ltris 1.0.13-1
+ * Upstream update
+
+2009-04-07 Eric Belanger <eric@archlinux.org>
+
+ * ltris 1.0.12-1
+ * Fixed score file location and permissions (close FS#13489)
+ * Added ChangeLog
diff --git a/community/ltris/ltris.install b/community/ltris/ltris.install
new file mode 100644
index 000000000..e270274bd
--- /dev/null
+++ b/community/ltris/ltris.install
@@ -0,0 +1,4 @@
+post_install() {
+ chown root:games /var/games/ltris.hscr
+ chmod 664 /var/games/ltris.hscr
+}