desktop/cubosphere/PKGBUILD

33 lines
1020 B
Bash
Raw Normal View History

2012-06-05 00:05:10 +08:00
#
# 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
}