Commit ba372adb authored by Neophytos's avatar Neophytos

adding cubosphere

parent 1afdbee4
#
# Games Packages for the Chakra Project
#
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
# Contributor: Bernd Pruenster <bernd.pruenster@gmail.com>
pkgname=cubosphere
pkgver=0.2
_pkgver=02a
pkgrel=1
pkgdesc="3d puzzle similar to Kula World/Roll Away"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/cubosphere/"
license=('GPL')
depends=('libjpeg' 'lua' 'sdl_ttf' 'sdl_mixer' 'glew')
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-beta${_pkgver}_linux_src.tar
"$pkgname.desktop")
md5sums=('1f40915f926875bdece86f4b56389238'
'7f7afe94baa3f22f96792b7ff18bd7ac')
screenshot=('http://sourceforge.net/projects/cubosphere/screenshots/273631')
build() {
cd $srcdir/${pkgname}-beta${_pkgver}/
sed -i -e 's/5.1//g' -e '/^PREFIX/s/\/local//' Makefile
}
package() {
cd $srcdir/${pkgname}-beta${_pkgver}/
make install DESTDIR=$pkgdir
chmod -R +r $pkgdir/*
install -D -m644 $srcdir/cubosphere.desktop $pkgdir/usr/share/applications/cubosphere.desktop
}
[Desktop Entry]
Type=Application
Name=Cubosphere
GenericName=Logic Game
Comment=3d puzzle
Exec=cubosphere
Categories=Game;LogicGame;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment