initial import
This commit is contained in:
32
ltris2/PKGBUILD
Normal file
32
ltris2/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=ltris2
|
||||
pkgver=2.0.3
|
||||
pkgrel=1
|
||||
pkgdesc="Scalable 16:9 remake of LTris"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://lgames.sourceforge.net/index.php?project=LTris'
|
||||
license=('GPL-3')
|
||||
depends=('sdl2_mixer' 'sdl2_image' 'sdl2_ttf')
|
||||
backup=('var/games/ltris2.hscr')
|
||||
install=$pkgname.install
|
||||
groups=('games')
|
||||
source=("https://downloads.sourceforge.net/lgames/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('db5e478d16b40103ae5beda8ce88f7b0aa36d4d67c57e3149a96a07b8d885deff03a8f91c964f4fb0c557224c0abcfaa7a36a2d3cde04b6f4a115df4a3d5991f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/games \
|
||||
--datarootdir=/usr/share/games \
|
||||
--localstatedir=/var/games
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR=${pkgdir} install
|
||||
mv "${pkgdir}"/usr/share/games/{applications,icons,locale} "${pkgdir}"/usr/share
|
||||
install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/$pkgname
|
||||
}
|
||||
4
ltris2/ltris2.install
Normal file
4
ltris2/ltris2.install
Normal file
@@ -0,0 +1,4 @@
|
||||
post_install() {
|
||||
chown root:games /var/games/ltris2.hscr
|
||||
chmod -R 775 /var/games/ltris2.hscr
|
||||
}
|
||||
Reference in New Issue
Block a user