25 lines
599 B
Plaintext
25 lines
599 B
Plaintext
# Description: the classic game with falling tetrominoes
|
|
# URL: https://lgames.sourceforge.io/LTris/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: sdl_mixer xorg-server
|
|
|
|
name=ltris
|
|
version=1.2.7
|
|
release=1
|
|
source=(http://prdownloads.sourceforge.net/lgames/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --disable-nls \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--localstatedir=/var/lib/games \
|
|
--runstatedir=/run \
|
|
--with-configdir=.config/lgames
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -f $PKG/var/lib/games/ltris.hscr
|
|
chmod 1777 $PKG/var/lib/games
|
|
}
|