makedeb


rpg2000-rtp 201906-1


RPG Maker 2000 Runtime Package (Japanese)

Click here to go back to the commit logs for rpg2000-rtp.

Commit:


Hash: c5c4ece29a19d1f31c6a1fc4db034fd8efa0813d

Message: [upd] 2000→201803 Patch announcement: https://twitter.com/tkool_dev/status/971582536504586241

Diff


diff --git a/.SRCINFO b/.SRCINFO
index d0ca193..8236492 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = rpg2000-rtp
 	pkgdesc = RPG Maker 2000 Runtime Package (Japanese)
-	pkgver = 2000
+	pkgver = 201803
 	pkgrel = 1
 	url = https://tkool.jp/support/download/rpg2000/rtp
 	arch = any
@@ -11,8 +11,10 @@ pkgbase = rpg2000-rtp
 	optdepends = easyrpg-player: game engine for using the RTP
 	noextract = 2000rtp.zip
 	source = https://tkool.jp/assets/files/2000rtp.zip
+	source = https://tkool.jp/wp-content/uploads/2018/03/RTP_patchk.zip
 	source = rpg2000-rtp.sh
 	sha256sums = c130f0078c0d6ecc3404f94af8258e4557ab85c3b204397c7f21dbc57efeef8e
+	sha256sums = 057b6314c7735e9f9004fb33dd3e157b2899fb5d8dafa173aa98bdbc2b690202
 	sha256sums = 1a892b64ea2df5827e560100408d6ff3f8abc9ec008f62bc8167fb91c0c2b5da
 
 pkgname = rpg2000-rtp
diff --git a/PKGBUILD b/PKGBUILD
index 1d88ca4..b7fc4be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
 
 pkgname=rpg2000-rtp
-pkgver=2000
+pkgver=201803
 pkgrel=1
 pkgdesc="RPG Maker 2000 Runtime Package (Japanese)"
 arch=('any')
@@ -10,8 +10,10 @@ license=('custom: commercial')
 makedepends=('unshield-git' 'convmv' 'glibc')
 optdepends=('easyrpg-player: game engine for using the RTP')
 source=("https://tkool.jp/assets/files/2000rtp.zip"
+        "https://tkool.jp/wp-content/uploads/2018/03/RTP_patchk.zip"
         "$pkgname.sh")
 sha256sums=('c130f0078c0d6ecc3404f94af8258e4557ab85c3b204397c7f21dbc57efeef8e'
+            '057b6314c7735e9f9004fb33dd3e157b2899fb5d8dafa173aa98bdbc2b690202'
             '1a892b64ea2df5827e560100408d6ff3f8abc9ec008f62bc8167fb91c0c2b5da')
 noextract=('2000rtp.zip')
 
@@ -26,6 +28,12 @@ prepare() {
   convmv -f SHIFT-JIS -t UTF-8 -r --qfrom --notest rtp
   iconv -f SHIFT-JIS -t UTF-8 TOS-sjis.txt > TOS.txt
   mv rtp/"RPGツクール2000_ランタイムパッケージ" 2000
+  convmv -f SHIFT-JIS -t UTF-8 -r --qfrom --notest RTP_patchk
+  iconv -f SHIFT-JIS -t UTF-8 RTP_patchk/"RTPの修正ファイルについて.txt" > PatchNotes.txt
+  # patch
+  mv RTP_patchk/"モンスター.png" 2000/RTP/FaceSet
+  mv RTP_patchk/"主人公3.png" 2000/RTP/CharSet
+  mv RTP_patchk/"基本.png" 2000/RTP/ChipSet
 }
 
 package() {
@@ -39,4 +47,6 @@ package() {
   install -Dm0755 $pkgname.sh "$pkgdir"/etc/profile.d/$pkgname.sh
   # license
   install -Dm0644 TOS.txt "$pkgdir"/usr/share/licenses/$pkgname/TOS.txt
+  # patch doc
+  install -Dm0644 PatchNotes.txt "$pkgdir"/usr/share/doc/$pkgname/"Patch Notes.txt"
 }