Violetland 0.4.3 rebuilt from new sources, with boost added to the list of dependencies.

parent ea3f174a
...@@ -5,44 +5,63 @@ ...@@ -5,44 +5,63 @@
pkgname=violetland pkgname=violetland
pkgver=0.4.3 pkgver=0.4.3
pkgrel=1 pkgrel=2
pkgdesc="Game where a girl, Violet, struggles with hordes of monsters." pkgdesc="Game where a girl, Violet, struggles with hordes of monsters."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="" url=""
license=('GPL3' 'CCPL:by-sa') license=('GPL3' 'CCPL:by-sa')
depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'libgl' 'mesa') depends=('boost' 'intltool' 'sdl_image' 'sdl_mixer' 'sdl_ttf' 'libgl' 'mesa')
makedepends=('cmake' 'desktop-file-utils') makedepends=('cmake' 'desktop-file-utils' 'git')
conflicts=('violetland-dev' 'violetland-svn') conflicts=('violetland-dev' 'violetland-svn')
categories=('games') categories=('games')
sha256sums=('790565a752fa10152f2c6f55676c3fa5ffbc45678822ac7d082d815b1798767e') _gitroot=""
build() { build() {
cd "${srcdir}/${pkgname}-v${pkgver}" cd "${srcdir}"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
git submodule update
msg "The local files are updated."
git clone $_gitroot $_gitname --depth=1
cd $_gitname
git submodule init
git submodule update
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf $srcdir/$_gitname-build
cp -R $srcdir/$_gitname $srcdir/$_gitname-build
cd $srcdir/$_gitname-build
rm -rf build
mkdir build && cd build
cmake \ cmake \
.. .
make make
} }
package() { package() {
cd "${srcdir}/${pkgname}-v${pkgver}/build" cd "${srcdir}/${_gitname}-build"
# Install icon # Install icon
install -D -m0644 "${srcdir}/${pkgname}-v${pkgver}/icon-light.png" \ install -D -m0644 "${srcdir}/${pkgname}-master/icon-light.png" \
"${pkgdir}/usr/share/pixmaps/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
# Install desktop file # Install desktop file
desktop-file-install -m 0644 --dir="${pkgdir}/usr/share/applications" \ desktop-file-install -m 0644 --dir="${pkgdir}/usr/share/applications" \
"${srcdir}/${pkgname}-v${pkgver}/${pkgname}.desktop" "${srcdir}/${pkgname}-master/${pkgname}.desktop"
# Install Readme # Install Readme
install -D -m0644 "${srcdir}/${pkgname}-v${pkgver}/CHANGELOG" \ install -D -m0644 "${srcdir}/${pkgname}-master/" \
"${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG" "${pkgdir}/usr/share/doc/${pkgname}/"
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment