mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
#
|
|
# Games Packages for the Chakra Project
|
|
#
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributor: Bernd Pruenster <bernd.pruenster@gmail.com>
|
|
|
|
pkgname=cubosphere
|
|
pkgver=0.3
|
|
_pkgver="${pkgver}"
|
|
pkgrel=2
|
|
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.gz
|
|
"$pkgname.desktop")
|
|
md5sums=('4ed44769c09fb559d12a35518564dce4'
|
|
'7f7afe94baa3f22f96792b7ff18bd7ac')
|
|
screenshot=('http://sourceforge.net/projects/cubosphere/screenshots/273631')
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}_beta${_pkgver}/
|
|
cd src
|
|
sed -i -e 's/5.1//g' -e '/^PREFIX/s/\/local//' Makefile
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/${pkgname}_beta${_pkgver}/src
|
|
make install DESTDIR=$pkgdir
|
|
chmod -R +r $pkgdir/*
|
|
install -D -m644 $srcdir/cubosphere.desktop $pkgdir/usr/share/applications/cubosphere.desktop
|
|
}
|