diff options
Diffstat (limited to 'community/ltris')
-rw-r--r-- | community/ltris/PKGBUILD | 39 | ||||
-rw-r--r-- | community/ltris/ltris.changelog (renamed from community/ltris/ChangeLog) | 7 |
2 files changed, 27 insertions, 19 deletions
diff --git a/community/ltris/PKGBUILD b/community/ltris/PKGBUILD index b9ed1af99..8d262586a 100644 --- a/community/ltris/PKGBUILD +++ b/community/ltris/PKGBUILD @@ -1,32 +1,35 @@ -# $Id: PKGBUILD 53908 2011-08-09 20:01:00Z ttopper $ -# Maintainer: Eric Belanger <eric@archlinux.org> +# $Id: PKGBUILD 54927 2011-08-28 13:23:10Z 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.16 +pkgver=1.0.17 pkgrel=1 -pkgdesc="A tetris clone where you have a bowl with blocks falling down." +pkgdesc="A tetris clone where you have a bowl with blocks falling down" arch=('i686' 'x86_64' 'mips64el') url="http://lgames.sourceforge.net/index.php?project=LTris" license=('GPL') depends=('sdl_mixer') -install=ltris.install -source=(http://downloads.sourceforge.net/lgames/${pkgname}-${pkgver}.tar.gz) -md5sums=('07b5a41f8de62ea083575384f05545c6') -sha1sums=('08785fc962ed83678b955f61a9a87a0215938123') +install=$pkgname.install +source=(http://downloads.sourceforge.net/lgames/$pkgname-$pkgver.tar.gz) +sha256sums=('b4d2888bc50bb2ad9dd59f97c15fbfaee96c54d86c834f1231cd6e8af66bf52c') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --localstatedir=/var/games make - make DESTDIR="${pkgdir}" install - install -d "${pkgdir}/usr/share/pixmaps" - install -m644 icons/ltris{16,32,48}.xpm "${pkgdir}/usr/share/pixmaps" - - chown root:games "${pkgdir}/usr/bin/ltris" - chmod 2755 "${pkgdir}/usr/bin/ltris" - chown root:games "${pkgdir}/var/games" - chmod 775 "${pkgdir}/var/games" - rm "${pkgdir}/var/games/ltris.hscr" } +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 + + ./configure --prefix=/usr --localstatedir=/var/games + make +} diff --git a/community/ltris/ChangeLog b/community/ltris/ltris.changelog index b8c8e0cb0..0454493b1 100644 --- a/community/ltris/ChangeLog +++ b/community/ltris/ltris.changelog @@ -1,4 +1,9 @@ -2011-08-09 Thorsten Töpper <atsutane-tu@freethoughts.de> +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 |