PKGBUILD 821 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
# 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_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
}