cruxports/ltris/Pkgfile
2024-04-09 18:47:59 +00:00

25 lines
645 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.3
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
}