diff games/wesnoth/wesnoth.sh @ 1220:4ccc42bf0284

misc: split .sh with .info
author David Demelier <markand@malikania.fr>
date Thu, 30 Sep 2021 09:26:38 +0200
parents 337f950c30f5
children a47aaf9743a0
line wrap: on
line diff
--- a/games/wesnoth/wesnoth.sh	Thu Sep 30 09:05:45 2021 +0200
+++ b/games/wesnoth/wesnoth.sh	Thu Sep 30 09:26:38 2021 +0200
@@ -15,22 +15,7 @@
 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #
 
-PKGNAME=wesnoth
-PKGVERSION=1.14.7
-PKGREVISION=1
-PKGLICENSE="GPL-2.0-only"
-PKGSUMMARY="turn-based strategy game in fantasy world"
-PKGDOWNLOAD="https://sourceforge.net/projects/wesnoth/files/$PKGNAME-${PKGVERSION%.*}/$PKGNAME-$PKGVERSION/$PKGNAME-$PKGVERSION.tar.bz2"
-PKGDEPENDS="sdl2-mixer
-            cmake:build
-            fontconfig
-            pango
-            sdl2-ttf
-            cairo
-            sdl2-image
-            boost
-            sdl2"
-PKGOPTIONS="FRIBIDI NLS NOTIFICATIONS"
+. ./wesnoth.info
 
 : ${CC:=clang}
 : ${CFLAGS:=-O2}