gltron-0.70-5

https://bbs.archlinux.org/viewtopic.php?id=193630
This commit is contained in:
Jaroslav Lichtblau 2015-02-17 20:49:24 +01:00
parent 29133d74fb
commit 3529fcec17
2 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = gltron
pkgdesc = A tron-like lightcycle game with a nice 3D perspective
pkgver = 0.70
pkgrel = 4
pkgrel = 5
url = http://www.gltron.org
arch = i686
arch = x86_64

View file

@ -2,7 +2,7 @@
pkgname=gltron
pkgver=0.70
pkgrel=4
pkgrel=5
pkgdesc="A tron-like lightcycle game with a nice 3D perspective"
arch=('i686' 'x86_64')
url="http://www.gltron.org"
@ -34,6 +34,7 @@ build() {
fi
./configure --prefix=/usr --enable-warn=off
sed -i 's/#include <ctype.h>/&\n#include <stdint.h>/' lua/src/lib/liolib.c
make
}
@ -41,8 +42,8 @@ package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -D -m644 "${srcdir}"/120px-GLTron.png \
install -Dm644 "${srcdir}"/120px-GLTron.png \
"${pkgdir}"/usr/share/gltron/pics/gltron.png
install -D -m644 "${srcdir}"/gltron.desktop \
install -Dm644 "${srcdir}"/gltron.desktop \
"${pkgdir}"/usr/share/applications/gltron.desktop
}