Package Details: fheroes2-svn 0.r3279-1

Git Clone URL: https://aur.archlinux.org/fheroes2-svn.git (read-only)
Package Base: fheroes2-svn
Description: Free implementation of Heroes of the Might and Magic II engine
Upstream URL: https://sourceforge.net/projects/fheroes2/
Licenses: GPL
Submitter: sergej
Maintainer: sergej
Last Packager: sergej
Votes: 4
Popularity: 0.000001
First Submitted: 2016-01-07 12:43
Last Updated: 2018-06-07 12:54

Latest Comments

fenuks commented on 2018-09-19 19:36

It doesn't build for me. I needed to alter PKGBUILD a bit to get it built.

diff --git a/PKGBUILD b/PKGBUILD
index e918436..024d512 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Mikael Eriksson <mikael_eriksson@miffe.org>

 pkgname=fheroes2-svn
-pkgver=0.r3279
+pkgver=0.r3279M
 pkgrel=1
 pkgdesc="Free implementation of Heroes of the Might and Magic II engine"
 arch=('i686' 'x86_64' 'armv7h')
@@ -9,7 +9,7 @@ url="https://sourceforge.net/projects/fheroes2/"
 license=('GPL')
 depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
 makedepends=('subversion' 'gettext')
-source=(svn+https://fheroes2.svn.sourceforge.net/svnroot/fheroes2/trunk/fheroes2 
+source=(fheroes2::svn+https://svn.code.sf.net/p/fheroes2/code/trunk
         fheroes2.desktop
         fheroes2.sh)
 install=fheroes2.install
@@ -23,19 +23,19 @@ pkgver() {
 }

 build() {
-  cd "$srcdir/fheroes2/src"
+  cd "$srcdir/fheroes2/fheroes2/src"
   sed -i 's/libpng12-config/libpng14-config/g' Makefile
   sed -i '30i#include <unistd.h>' fheroes2/dialog/dialog_selectfile.cpp
   make RELEASE=1 WITH_AI=simple
 }

 package() {
-  cd "$srcdir/fheroes2"
+  cd "$srcdir/fheroes2/fheroes2"
   install -Dm755 "$srcdir/fheroes2.sh" "$pkgdir/usr/bin/fheroes2"
   install -Dm644 "$srcdir/fheroes2.desktop" "$pkgdir/usr/share/applications/fheroes2.desktop"
-  install -Dm644 "$srcdir/fheroes2/image/fheroes2_32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/fheroes2.png"
-  install -Dm755 "$srcdir/fheroes2/src/dist/fheroes2" "$pkgdir/usr/share/fheroes2/fheroes2"
-  install -Dm644 "$srcdir/fheroes2/fheroes2.cfg" "$pkgdir/usr/share/fheroes2/fheroes2.cfg"
+  install -Dm644 "$srcdir/fheroes2/fheroes2/image/fheroes2_32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/fheroes2.png"
+  install -Dm755 "$srcdir/fheroes2/fheroes2/src/dist/fheroes2" "$pkgdir/usr/share/fheroes2/fheroes2"
+  install -Dm644 "$srcdir/fheroes2/fheroes2/fheroes2.cfg" "$pkgdir/usr/share/fheroes2/fheroes2.cfg"
   install -dm755 "$pkgdir/usr/share/fheroes2/data" "$pkgdir/usr/share/fheroes2/maps"
 }

Maratich commented on 2018-06-03 22:07

There is fork, FHeroes2 Enhanced, but no any AUR package. https://github.com/ciplogic/fheroes2enh

kaptoxic commented on 2016-01-08 22:59

Shouldn't this package depend on fheroes2-data (http://pkgbuild.com/git/aur-mirror.git/tree/fheroes2-svn/PKGBUILD)?