makedeb


tunics 0.3+ci-3


Roguelike-like Zelda game for the Solarus engine

Click here to go back to the commit logs for tunics.

Commit:


Hash: a4347dbe2fcf04100431eeeacf44478862722fb8

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 5d11af5..a9472bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,25 @@
-pkgbase = tunics
-	pkgdesc = Roguelike-like Zelda game for the Solarus engine
-	pkgver = 0.3
-	pkgrel = 1
-	url = https://tunics.legofarmen.se/
-	arch = any
-	license = GPL3
-	license = MIT
-	license = custom
-	makedepends = cmake
-	depends = solarus>=1.5.0
-	source = tunics-0.3.tar.gz::https://github.com/Legofarmen/tunics/archive/0.3.tar.gz
-	b2sums = 8f92a0cade4c02ccc9c785ddb7209c98ce33a050c8f086457d4fa6a6b024c374d03eeb89a320f60cf6b72a4414ab75df98d7b469d75e5848f40e3434fcc6ba68
-
+generated-by = makedeb
 pkgname = tunics
-
+pkgbase = tunics
+pkgdesc = Roguelike-like Zelda game for the Solarus engine
+pkgrel = 0
+pkgver = 0.3+ci
+url = https://solarus-games.org/en/games/tunics
+arch = all
+depends = solarus>=1.6.0
+license = GPL3
+license = MIT
+license = custom
+noextract = tunics.solarus
+source = tunics.solarus::https://gitlab.com/syllan-games/patched-tunics/-/jobs/artifacts/0.3+ci/raw/tunics-0.3+ci.solarus?job=quest-package
+source = https://gitlab.com/syllan-games/patched-tunics/-/raw/0.3+ci/CREDITS.txt
+source = https://gitlab.com/syllan-games/patched-tunics/-/raw/0.3+ci/license.txt
+source = https://gitlab.com/syllan-games/patched-tunics/-/raw/0.3+ci/README.md
+source = https://gitlab.com/syllan-games/patched-tunics/-/raw/0.3+ci/ChangeLog
+source = https://solarus-games.org/data/en/entities/game/tunics/icons/icon_64x64.png
+b2sums = fcc8746ac3348ebe814f195df6e92216a524705ce9b36bf5dc4290d1945ed16548789b287a79e4a93b820f1bdc07b2191c7efa78b94c969278d02b8f81ef2b11
+b2sums = 8b446531db40e3f01645d3c59e0096e1520583a2c57735a8b92fdf02f9d47bcb3ddafaa14dde0f004654251a36faf6975e86adb06f9d70817f746194cf443d29
+b2sums = 6ecf73a29e8e27f8c8b2fac438e8c3d5e1eb76eba181e0338d664a45799a9f62ccfb6d6713e5ca6c6481502efb1b2a89075a061e2f8e7f4915354e5308989f32
+b2sums = dabcec52cba56039b1407372a7bb0ba6db11c0e224a9c483dae702fb9319617b897a6c985d955b84caef0bdd58777611b94cb37bd207939719089b0433f053f7
+b2sums = da55ccefd0fed71138fc41ca5c26790e64c9b5867df8a62bf53e68fe44b90dd4f327324bd087de5dfc33312b29b1db6b64d9eba2cf6145b590efdbb50e5326fe
+b2sums = 3be99ce7d270c5efecc93e13feb58779d86cdf776f86faacd2de285196170eeff8eb28e3ff5be34bea2a02b7610306f42dedc40c52e85b7c687564b47da7f75a
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..789d122
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,9 @@
+error.txt
+src/
+pkg/
+tunics*
+ChangeLog  
+CREDITS.txt  
+license.txt  
+README.md  
+icon_64x64.png
diff --git a/PKGBUILD b/PKGBUILD
index 296b0e1..d0bda6c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,56 @@
-# Maintainer: Qontinuum <qontinuum.dev@protonmail.ch>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: Qontinuum (AUR) <qontinuum.dev@protonmail.ch>
 
 pkgname=tunics
-pkgver=0.3
-pkgrel=1
+_pkgname=Tunics
+pkgver="0.3+ci"
+pkgrel=0
 pkgdesc="Roguelike-like Zelda game for the Solarus engine"
-arch=('any')
-url="https://tunics.legofarmen.se/"
+arch=('all')
+url="https://solarus-games.org/en/games/tunics"
 license=('GPL3' 'MIT' 'custom')
-depends=('solarus>=1.5.0')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Legofarmen/$pkgname/archive/$pkgver.tar.gz")
-b2sums=('8f92a0cade4c02ccc9c785ddb7209c98ce33a050c8f086457d4fa6a6b024c374d03eeb89a320f60cf6b72a4414ab75df98d7b469d75e5848f40e3434fcc6ba68')
+depends=('solarus>=1.6.0')
+source=("${pkgname}.solarus::https://gitlab.com/syllan-games/patched-$pkgname/-/jobs/artifacts/0.3+ci/raw/$pkgname-$pkgver.solarus?job=quest-package"
+"https://gitlab.com/syllan-games/patched-$pkgname/-/raw/0.3+ci/CREDITS.txt"
+"https://gitlab.com/syllan-games/patched-$pkgname/-/raw/0.3+ci/license.txt"
+"https://gitlab.com/syllan-games/patched-$pkgname/-/raw/0.3+ci/README.md"
+"https://gitlab.com/syllan-games/patched-$pkgname/-/raw/0.3+ci/ChangeLog"
+"https://solarus-games.org/data/en/entities/game/tunics/icons/icon_64x64.png")
+noextract=("${pkgname}.solarus")
+b2sums=('fcc8746ac3348ebe814f195df6e92216a524705ce9b36bf5dc4290d1945ed16548789b287a79e4a93b820f1bdc07b2191c7efa78b94c969278d02b8f81ef2b11'
+        '8b446531db40e3f01645d3c59e0096e1520583a2c57735a8b92fdf02f9d47bcb3ddafaa14dde0f004654251a36faf6975e86adb06f9d70817f746194cf443d29'
+        '6ecf73a29e8e27f8c8b2fac438e8c3d5e1eb76eba181e0338d664a45799a9f62ccfb6d6713e5ca6c6481502efb1b2a89075a061e2f8e7f4915354e5308989f32'
+        'dabcec52cba56039b1407372a7bb0ba6db11c0e224a9c483dae702fb9319617b897a6c985d955b84caef0bdd58777611b94cb37bd207939719089b0433f053f7'
+        'da55ccefd0fed71138fc41ca5c26790e64c9b5867df8a62bf53e68fe44b90dd4f327324bd087de5dfc33312b29b1db6b64d9eba2cf6145b590efdbb50e5326fe'
+        '3be99ce7d270c5efecc93e13feb58779d86cdf776f86faacd2de285196170eeff8eb28e3ff5be34bea2a02b7610306f42dedc40c52e85b7c687564b47da7f75a')
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  sed -i "s/echo 'solarus /echo 'solarus-run /" CMakeLists.txt
-  cmake -DCMAKE_INSTALL_PREFIX="/usr" .
-}
+package() {
 
-build() {
-  make -C "$pkgname-$pkgver" ${MAKEFLAGS}
-}
+  install -m644 -d "$pkgdir/usr/bin"
+  echo -e "#!/bin/sh\nsolarus-run /usr/share/solarus/$pkgname/$pkgname.solarus $*" > "$pkgdir/usr/bin/$pkgname"
+  chmod 755 "$pkgdir/usr/bin/$pkgname"
 
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  install -Dm644 CREDITS.txt "$pkgdir/usr/share/licenses/$pkgname/CREDITS"
-}
+  install -m644 -d "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm644 license.txt "$pkgdir/usr/share/doc/$pkgname/license"
+  install -Dm644 CREDITS.txt "$pkgdir/usr/share/doc/$pkgname/credits"
+  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/readme"
+  install -Dm644 ChangeLog "$pkgdir/usr/share/doc/$pkgname/changelog"
+  gzip "$pkgdir/usr/share/doc/$pkgname/changelog"
+
+_DESKTOPFILE="[Desktop Entry]
+Version=1.0
+Type=Application
+Name=$_pkgname
+Comment=$pkgdesc
+Exec=$pkgname
+Icon=$pkgname
+Terminal=false
+StartupNotify=false
+Categories=Game;ActionGame;"
 
+  install -m0644 -d "$pkgdir/usr/share/applications"
+  echo "$_DESKTOPFILE" > "$pkgdir/usr/share/applications/$pkgname.desktop"
 
+  install -m0644 -d "$pkgdir/usr/share/pixmaps"
+  install -Dm644 icon_64x64.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}