makedeb


zod-engine 0.2011.09.06-2


The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers

Click here to go back to the commit logs for zod-engine.

Commit:


Hash: 61e180b98707cd703550a32563ffd27fd6414d77

Message: fix embeded script

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0986bd4..573453e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
 pkgname = zod-engine
 pkgbase = zod-engine
 pkgdesc = The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers
-pkgrel = 1
+pkgrel = 2
 pkgver = 0.2011.09.06
 url = http://zod.sourceforge.net/
 arch = i386
@@ -13,7 +13,7 @@ depends = libsdl-ttf2.0-0
 depends = libsdl-image1.2
 depends = libmariadb3
 depends = libwxgtk3.2-1
-license = GPL
+license = GPL3
 makedepends = libsdl1.2-dev
 makedepends = libsdl-mixer1.2-dev
 makedepends = libsdl-ttf2.0-dev
diff --git a/PKGBUILD b/PKGBUILD
index 4bbfd61..d7a709d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgname=zod-engine
 _version=2011_09_06
 pkgver=0.2011.09.06
-pkgrel=1
+pkgrel=2
 # fork "zed online" https://sourceforge.net/projects/zedonline/
 pkgdesc="The Zod Engine - An Open Source Remake of the 1996 Game Z by Bitmap Brothers"
 depends=('libsdl1.2debian'
@@ -33,7 +33,7 @@ bullseye_makedepends=('libsdl1.2-dev'
              'libwxgtk3.0-gtk3-dev'
              'sed')
 arch=('i386' 'amd64')
-license=('GPL')
+license=('GPL3')
 url="http://zod.sourceforge.net/"
 source=("https://sourceforge.net/projects/zod/files/linux_releases/zod_linux-${_version//_/-}.tar.gz")
 b2sums=('01ce342df4f95bdc2feedb759dd8b8e1e5fd91d5a0b71a159f706b42ba8c47ffdedb9f98a756bd8f978043e78b4ef1f7b6380d8585efb7ef7fa81cd019e79533')
@@ -65,7 +65,7 @@ package() {
   # Launcher wrapper
 echo "#!/bin/sh
 
-config_dir=\${XDG_CONFIG_HOME:-$HOME/.config}/$pkgname
+config_dir=\${XDG_CONFIG_HOME:-\$HOME/.config}/$pkgname
 
 if [ ! -e \$config_dir ]; then
   cp -as /usr/share/games/$pkgname/ \$config_dir
@@ -87,6 +87,7 @@ Name=Zod Engine
 Exec=zod-launcher
 Categories=Application;Game;" > $pkgdir/usr/share/applications/$pkgname.desktop
   # Adjustments
-  ln -sf /usr/share/games/$pkgname/assets/icon.png $pkgdir/usr/share/pixmaps/$pkgname.png
+  ln -s /usr/share/games/$pkgname/assets/icon.png $pkgdir/usr/share/pixmaps/$pkgname.png
   mv $pkgdir/usr/share/games/$pkgname/{*help.txt,readme_linux.txt} $pkgdir/usr/share/doc/$pkgname/
+  ln -s /usr/share/common-licenses/GPL-3 "$pkgdir/usr/share/doc/$pkgname/"
 }