makedeb


zelda-alttd-alpha-git 0.r9.9b842a4-1


!!!UNFINISHED!!! The Legend of Zelda: A Link to the Dream - Remake of The Legend of Zelda: Link's Awakening !!!UNFINISHED!!!

Click here to go back to the commit logs for zelda-alttd-alpha-git.

Commit:


Hash: 8b442eb462603b1896aca98681a396fd93b33286

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 6bcf991..450381d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,26 @@
-pkgbase = zelda-alttd-git
-	pkgdesc = The Legend of Zelda: A Link to the Dream - Remake of The Legend of Zelda: Link's Awakening (Git version)
-	pkgver = r3950.4e3c25a2
-	pkgrel = 1
-	url = https://www.solarus-games.org/fr/games/the-legend-of-zelda-a-link-to-the-dream
-	arch = any
-	license = custom
-	makedepends = cmake
-	makedepends = git
-	makedepends = zip
-	depends = solarus>=1.6.0
-	source = zelda-alttd-git::git+https://gitlab.com/zeldaforce/zelda-alttd.git
-	source = zelda-alttd-git-launcher
-	source = zelda-alttd-git.desktop
-	source = zelda-alttd-git.png
-	b2sums = SKIP
-	b2sums = 4d0c654af0434212724915a72cd5e4439c89f95f4fb331c669388b5e65676afd31168f8fe6e99ac04b769d6be05db9e22e61d81af30145d5808fc58d0caeb8fc
-	b2sums = 835e6b8db95c6466f21efe733959461b9481d20eb10a970262f0438cc54eabb6deea53011560322f0baf7fe129c1c977076be10f75d86d02988bb0d8bc2df256
-	b2sums = b23c6aa20af637e4ae09519f8b770f19ea8f1f774615c8a141b521d1ce859f738c43cf56cc3a0c799a736cdb310415ac576e9afe8b21c95451c8b818226e2442
-
+generated-by = makedeb
 pkgname = zelda-alttd-git
-
+pkgbase = zelda-alttd-git
+pkgdesc = The Legend of Zelda: A Link to the Dream - Remake of The Legend of Zelda: Link's Awakening (Git version)
+pkgrel = 0
+pkgver = 1.f96b5ea
+url = https://www.solarus-games.org/fr/games/the-legend-of-zelda-a-link-to-the-dream
+arch = all
+depends = solarus>=1.6.0
+license = custom
+makedepends = cmake
+makedepends = git
+makedepends = zip
+source = zelda-alttd-git::git+https://gitlab.com/zeldaforce/zelda-alttd.git
+source = alttd-english::git+https://gitlab.com/grawprog/alttd-english.git
+source = zelda-alttd-git-launcher
+source = zelda-alttd-git.desktop
+source = zelda-alttd-git.png
+b2sums = SKIP
+b2sums = SKIP
+b2sums = 4d0c654af0434212724915a72cd5e4439c89f95f4fb331c669388b5e65676afd31168f8fe6e99ac04b769d6be05db9e22e61d81af30145d5808fc58d0caeb8fc
+b2sums = 835e6b8db95c6466f21efe733959461b9481d20eb10a970262f0438cc54eabb6deea53011560322f0baf7fe129c1c977076be10f75d86d02988bb0d8bc2df256
+b2sums = b23c6aa20af637e4ae09519f8b770f19ea8f1f774615c8a141b521d1ce859f738c43cf56cc3a0c799a736cdb310415ac576e9afe8b21c95451c8b818226e2442
+makedepends = cmake
+makedepends = git
+makedepends = zip
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3b79b74
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+alttd-english/
+zelda-alttd-git/
+zelda-alttd-git_*
+error.txt      
+src
+pkg
diff --git a/PKGBUILD b/PKGBUILD
index 53adfac..6211cf4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,38 @@
-# Maintainer: Qontinuum <qontinuum.dev@protonmail.ch>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: Qontinuum (AUR) <qontinuum.dev@protonmail.ch>
 
 pkgname=zelda-alttd-git
-pkgver=r3950.4e3c25a2
-pkgrel=1
+pkgver=1.f96b5ea
+pkgrel=0
 pkgdesc="The Legend of Zelda: A Link to the Dream - Remake of The Legend of Zelda: Link's Awakening (Git version)"
-arch=('any')
+arch=('all')
 url='https://www.solarus-games.org/fr/games/the-legend-of-zelda-a-link-to-the-dream'
 license=('custom')
 depends=('solarus>=1.6.0')
 makedepends=('cmake' 'git' 'zip')
 source=("$pkgname::git+https://gitlab.com/zeldaforce/zelda-alttd.git"
+        "alttd-english::git+https://gitlab.com/grawprog/alttd-english.git"
         "$pkgname-launcher"
         "$pkgname.desktop"
         "$pkgname.png")
 b2sums=('SKIP'
+        'SKIP'
         '4d0c654af0434212724915a72cd5e4439c89f95f4fb331c669388b5e65676afd31168f8fe6e99ac04b769d6be05db9e22e61d81af30145d5808fc58d0caeb8fc'
         '835e6b8db95c6466f21efe733959461b9481d20eb10a970262f0438cc54eabb6deea53011560322f0baf7fe129c1c977076be10f75d86d02988bb0d8bc2df256'
         'b23c6aa20af637e4ae09519f8b770f19ea8f1f774615c8a141b521d1ce859f738c43cf56cc3a0c799a736cdb310415ac576e9afe8b21c95451c8b818226e2442')
 
 pkgver() {
   cd "$pkgname"
-  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-
+  printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }
 
 prepare() {
-    sed -i 's/set(quest_name "zelda-alttd")/set(quest_name "zelda-alttd-git")/' "$pkgname/CMakeLists.txt"
+sed -i 's/set(quest_name "zelda-alttd")/set(quest_name "zelda-alttd-git")/' "$pkgname/CMakeLists.txt"
 }
 
 build() {
+  cp -R "$srcdir/alttd-english/languages/en/" "$srcdir/zelda-alttd-git/data/languages/"
+  sed -i 's!language{ id = "fr", description = "Français" }!language{ id = "en", description = "English" }\nlanguage{ id = "fr", description = "Français" }!' "$srcdir/zelda-alttd-git/data/project_db.dat"
   cd "$pkgname"
   cmake -DCMAKE_INSTALL_PREFIX='/usr' .
   make