2011-05-08 23:01:59 +08:00
|
|
|
#
|
|
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=violetland
|
2011-06-15 05:22:21 +08:00
|
|
|
pkgver=0.4.2
|
2011-05-08 23:01:59 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Game where a girl, Violet, struggles with hordes of monsters."
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://code.google.com/p/violetland/"
|
|
|
|
license=('GPL3' 'CCPL:by-sa')
|
|
|
|
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'libgl')
|
|
|
|
makedepends=('cmake')
|
|
|
|
conflicts=('violetland-dev' 'violetland-svn')
|
2012-03-07 19:00:46 +08:00
|
|
|
categories=('games')
|
2011-05-08 23:01:59 +08:00
|
|
|
changelog=ChangeLog
|
|
|
|
source=(http://violetland.googlecode.com/files/$pkgname-v$pkgver-src.zip)
|
2011-06-15 05:22:21 +08:00
|
|
|
md5sums=('a5f880e732e29c5c89f9b7306231dfa9')
|
2011-05-08 23:01:59 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/$pkgname-v$pkgver
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-v$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
}
|