cruxports/ltris/Pkgfile

25 lines
599 B
Plaintext
Raw Normal View History

2023-01-25 08:39:12 -05:00
# Description: the classic game with falling tetrominoes
# URL: https://lgames.sourceforge.io/LTris/
# Maintainer: John McQuah, jmcquah at disroot dot org
2023-01-25 10:08:02 -05:00
# Depends on: sdl_mixer xorg-server
2023-01-25 08:39:12 -05:00
name=ltris
2023-09-08 19:53:44 -04:00
version=1.2.7
2023-01-25 08:39:12 -05:00
release=1
2023-09-08 19:53:44 -04:00
source=(http://prdownloads.sourceforge.net/lgames/$name-$version.tar.gz)
2023-01-25 08:39:12 -05:00
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
}