On 2018/05/03 20:18, David CARLIER wrote:
> slightly update version with all your inputs.

- the MAINTAINER line looks to be missing an 'x'?

- since it's using github on-the-fly-generated files it might as well
use GH_*

diff for these below - no assets to test with but otherwise looks OK to
me.


--- Makefile.orig       Thu May  3 20:25:09 2018
+++ Makefile    Thu May  3 20:26:09 2018
@@ -2,13 +2,15 @@
 
 V =            3.1.4
 COMMENT =      3D, first person roguelike
-DISTNAME =     Barony-${V}{v${V}}
-PKGNAME =      barony-${V}
+GH_ACCOUNT =   TurningWheel
+GH_PROJECT =   Barony
+GH_TAGNAME =   v$V
+
 CATEGORIES =   games x11
 
 HOMEPAGE =     http://www.baronygame.com/
 
-MAINTAINER = David Carlier <devn...@gmail.com>
+MAINTAINER =   David Carlier <devne...@gmail.com>
 
 # GPLv3 only
 PERMIT_PACKAGE_CDROM = Yes
@@ -16,8 +18,6 @@ PERMIT_PACKAGE_CDROM =        Yes
 WANTLIB += ${COMPILER_LIBCXX} GL GLU SDL2 SDL2_image SDL2_net
 WANTLIB += SDL2_ttf c execinfo m ogg openal png vorbisfile
 
-MASTER_SITES = https://github.com/TurningWheel/Barony/archive/
-
 # C++11
 COMPILER =     base-clang ports-gcc
 
@@ -40,8 +40,6 @@ CONFIGURE_ARGS =      -DCMAKE_C_FLAGS="${CFLAGS}" \
                        -DCMAKE_INSTALL_BINDIR="${LOCALBASE}/bin"
 
 NO_TEST =      Yes
-
-WRKDIST =      ${WRKDIR}/Barony-${V}
 
 post-install:
        ${SUBST_CMD} -m 555 -c ${FILESDIR}/barony-launcher.sh \

Reply via email to