makedeb


yarntown 1.0.6-0


A Zeldalike tribute to Bloodborne. Explore the streets of a cursed, gothic town, hunting beasts and uncovering twisted bosses.

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

Commit:


Hash: 62994e4a11fa5ff2c22d5c229e0a7f54f8d86f85

Message: Initial mpr release

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 8b5c628..16b1e16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,19 @@
-pkgbase = yarntown
-	pkgdesc = A Zeldalike tribute to Bloodborne. Explore the streets of a cursed, gothic town, hunting beasts and uncovering twisted bosses.
-	pkgver = 1.0.5
-	pkgrel = 2
-	url = https://maxatrillionator.itch.io/yarntown
-	arch = any
-	license = custom
-	makedepends = gendesk
-	depends = solarus>=1.6.0
-	noextract = yarntown.solarus
-	source = https://github.com/MaxMraz/yarntown/releases/download/v1.0.5/yarntown.solarus
-	source = https://github.com/MaxMraz/yarntown/raw/master/medias/icon/icon_128.png
-	md5sums = 662e020063bac3e07c9e1322fce81ef8
-	md5sums = 9257c8b911a185e243970ef7411c9bbc
-
+generated-by = makedeb
 pkgname = yarntown
-
+pkgbase = yarntown
+pkgdesc = A Zeldalike tribute to Bloodborne. Explore the streets of a cursed, gothic town, hunting beasts and uncovering twisted bosses.
+pkgrel = 0
+pkgver = 1.0.5
+url = https://maxatrillionator.itch.io/yarntown
+arch = all
+depends = solarus>=1.6.0
+license = custom
+noextract = yarntown.solarus
+source = https://github.com/MaxMraz/yarntown/releases/download/v1.0.5/yarntown.solarus
+source = https://github.com/MaxMraz/yarntown/raw/master/medias/icon/icon_128.png
+source = https://github.com/MaxMraz/yarntown/raw/master/credits.txt
+source = https://github.com/MaxMraz/yarntown/raw/master/readme.md
+b2sums = 914b29f34b394f1816e70d1077091f9a96e7ed1189f9b1ab0850813d329791ef5201eae3ac2bf15dcdba083d01d2029cec4e25f617e7df64716ee7602c989850
+b2sums = 59f5d06ff963722266d12c09648bdc88ce51a363006f0b00b5324c6b057074a6e7577c252605dab777ba3639cbacca146f1d59d7edbb01533a7b6aeb5923320c
+b2sums = 18d8d916157dfdeafe5e0ff88ec782916d6cea617fe5963107ef1518f353ad29acb4dda54e4a31af9098868e6c958f38d0b874f5ff4dcb90c02ccd10189048e8
+b2sums = a194d90cb90abfb66bc28146f55980602738ef63bc437f0d8f06ebbd44ce275385c9c9b7b36a014ab463ceb2506393bad6f4dbd45def632758a18f330c43afb1
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d14c0f1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+error.txt
+src/
+pkg/
+icon_128.png
+readme.md
+credits.txt
+yarntown*
diff --git a/PKGBUILD b/PKGBUILD
index e45b7a6..4e09a5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,49 +1,49 @@
-# Maintainer: MCMic <come@chilliet.eu>
-# Contributor: MCMic <come@chilliet.eu>
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: MCMic (AUR) <come@chilliet.eu>
 
 pkgname=yarntown
+_pkgname=Yarntown
 pkgver=1.0.5
-pkgrel=2
+pkgrel=0
 pkgdesc="A Zeldalike tribute to Bloodborne. Explore the streets of a cursed, gothic town, hunting beasts and uncovering twisted bosses."
-arch=('any')
+arch=('all')
 url="https://maxatrillionator.itch.io/yarntown"
 license=('custom')
-groups=()
 depends=('solarus>=1.6.0')
-makedepends=('gendesk')
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
 source=("https://github.com/MaxMraz/${pkgname}/releases/download/v${pkgver}/${pkgname}.solarus"
-        "https://github.com/MaxMraz/${pkgname}/raw/master/medias/icon/icon_128.png")
+        "https://github.com/MaxMraz/${pkgname}/raw/master/medias/icon/icon_128.png"
+        "https://github.com/MaxMraz/${pkgname}/raw/master/credits.txt"
+        "https://github.com/MaxMraz/${pkgname}/raw/master/readme.md")
 noextract=("${pkgname}.solarus")
-md5sums=('662e020063bac3e07c9e1322fce81ef8'
-        '9257c8b911a185e243970ef7411c9bbc')
-
-_name="Yarntown"
-_categories="Game;ActionGame"
-
-prepare() {
-  cd "${srcdir}"
-  gendesk -f -n ../PKGBUILD
-}
+b2sums=('914b29f34b394f1816e70d1077091f9a96e7ed1189f9b1ab0850813d329791ef5201eae3ac2bf15dcdba083d01d2029cec4e25f617e7df64716ee7602c989850'
+        '59f5d06ff963722266d12c09648bdc88ce51a363006f0b00b5324c6b057074a6e7577c252605dab777ba3639cbacca146f1d59d7edbb01533a7b6aeb5923320c'
+        '18d8d916157dfdeafe5e0ff88ec782916d6cea617fe5963107ef1518f353ad29acb4dda54e4a31af9098868e6c958f38d0b874f5ff4dcb90c02ccd10189048e8'
+        'a194d90cb90abfb66bc28146f55980602738ef63bc437f0d8f06ebbd44ce275385c9c9b7b36a014ab463ceb2506393bad6f4dbd45def632758a18f330c43afb1')
 
 build() {
   cd "${srcdir}"
   echo -e "#!/bin/sh\nsolarus-run /usr/share/solarus/$pkgname/$pkgname.solarus $*" > $pkgname
+
+_DESKTOPFILE="[Desktop Entry]
+Version=1.0
+Type=Application
+Name=$_pkgname
+Comment=$pkgdesc
+Exec=$pkgname
+Icon=$pkgname
+Terminal=false
+StartupNotify=false
+Categories=Game;ActionGame;"
+  echo "$_DESKTOPFILE" > $pkgname.desktop
 }
 
 package() {
   cd "${srcdir}"
-  install -Dm0644 ./$pkgname.solarus "$pkgdir"/usr/share/solarus/$pkgname/$pkgname.solarus
-  install -Dm0755 $pkgname "$pkgdir"/usr/bin/$pkgname
-  install -Dm0644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
-  install -Dm0644 icon_128.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
+  install -Dm0644 ./$pkgname.solarus "$pkgdir/usr/share/solarus/$pkgname/$pkgname.solarus"
+  install -Dm0755 $pkgname "$pkgdir/usr/bin/$pkgname"
+  install -Dm0644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm0644 icon_128.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+  install -Dm0644 credits.txt "$pkgdir/usr/share/doc/$pkgname/credits"
+  install -Dm0644 readme.md "$pkgdir/usr/share/doc/$pkgname/readme"
+  sed -n "/## License/,/## Controls/p" readme.md | head -n -2 > "$pkgdir/usr/share/doc/$pkgname/license"
 }
-