desktop/valyria-tear/PKGBUILD
2013-05-19 16:46:23 +00:00

31 lines
833 B
Bash

# Contributor: MCMic <come.bernigaud@laposte.net>
pkgname=valyria-tear
pkgver=0.5.1
pkgrel=1
pkgdesc="Valyria Tear is an attempt at creating a free (as meant in the Gnu Public License) J-RPG game."
arch=('any')
url="http://valyriatear.blogspot.fr"
license=('GPL')
depends=('sdl' 'sdl_image' 'sdl_ttf' 'openal' 'libogg' 'libvorbis' 'glu' 'libpng' 'libjpeg' 'gettext' 'lua')
makedepends=('cmake')
conflicts=()
source=("https://github.com/Bertram25/ValyriaTear/archive/${pkgver}/valyriatear-${pkgver}.tar.gz")
md5sums=('c63c72da7a85446143fbf717d2d9732c')
build() {
cd $srcdir/ValyriaTear-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd $srcdir/ValyriaTear-$pkgver/build
make install DESTDIR=$pkgdir
}