mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
#
|
|
# 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=wesnoth
|
|
pkgver=1.8.5
|
|
pkgrel=1
|
|
pkgdesc="A turn-based strategy game on a fantasy world."
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://www.wesnoth.org/"
|
|
depends=('freetype2' 'fribidi' 'gcc-libs' 'libvorbis' 'lua' 'pango' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
|
|
makedepends=('boost')
|
|
install=wesnoth.install
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
|
|
wesnoth-libpng-1.4.0.patch)
|
|
md5sums=('a800285d1406690755dd0ea22b98b6df'
|
|
'ca7412ffc4682ef55ddf82d56b0e2f08')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
patch -Np1 -i ../wesnoth-libpng-1.4.0.patch || return 1
|
|
./autogen.sh || return 1
|
|
./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
}
|