summaryrefslogtreecommitdiff
path: root/community/ltris
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-19 23:15:16 +0000
committerroot <root@rshg054.dnsready.net>2011-12-19 23:15:16 +0000
commit6d2dec5c3443d142a0131c43666929490961c16a (patch)
treeeb6b8e70d6557d1651309c65aef4812d6d10da1f /community/ltris
parentd8fd24a96ae712b2de3e9b05d937b135f41d016d (diff)
Mon Dec 19 23:15:16 UTC 2011
Diffstat (limited to 'community/ltris')
-rw-r--r--community/ltris/PKGBUILD11
-rw-r--r--community/ltris/ltris.changelog5
-rw-r--r--community/ltris/ltris.install13
3 files changed, 10 insertions, 19 deletions
diff --git a/community/ltris/PKGBUILD b/community/ltris/PKGBUILD
index c500494db..17db56fa0 100644
--- a/community/ltris/PKGBUILD
+++ b/community/ltris/PKGBUILD
@@ -1,19 +1,21 @@
-# $Id: PKGBUILD 54927 2011-08-28 13:23:10Z jlichtblau $
+# $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.17
+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=('b4d2888bc50bb2ad9dd59f97c15fbfaee96c54d86c834f1231cd6e8af66bf52c')
+sha256sums=('3cba90365d50e79601368499af77d54cb03c0cf2544324e5df246eb1eeaa0e30')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -29,7 +31,4 @@ package() {
install -d ${pkgdir}/usr/share/pixmaps
install -m644 icons/ltris{16,32,48}.xpm ${pkgdir}/usr/share/pixmaps
-
- ./configure --prefix=/usr --localstatedir=/var/games
- make
}
diff --git a/community/ltris/ltris.changelog b/community/ltris/ltris.changelog
index 0454493b1..4cf7b905f 100644
--- a/community/ltris/ltris.changelog
+++ b/community/ltris/ltris.changelog
@@ -1,3 +1,8 @@
+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
diff --git a/community/ltris/ltris.install b/community/ltris/ltris.install
index ff4947f6e..e270274bd 100644
--- a/community/ltris/ltris.install
+++ b/community/ltris/ltris.install
@@ -1,17 +1,4 @@
post_install() {
- touch /var/games/ltris.hscr
- chown root:games /var/games/ltris.hscr
- chmod 664 /var/games/ltris.hscr
-}
-
-pre_upgrade() {
- if [ -e /var/ltris.hscr ]; then
- install -d /var/games
- cp /var/ltris.hscr /var/games
- fi
-}
-
-post_upgrade() {
chown root:games /var/games/ltris.hscr
chmod 664 /var/games/ltris.hscr
}