makedeb
RPG Maker 2000 Runtime Package (Japanese)
Click here to go back to the commit logs for rpg2000-rtp.
Hash: 52cf9363099577c7efd717b1a5561ea4195d97fc
Message: Initial mpr release
diff --git a/.SRCINFO b/.SRCINFO
index 8c4cf8c..8b6dfa8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
-pkgbase = rpg2000-rtp
- pkgdesc = RPG Maker 2000 Runtime Package (Japanese)
- pkgver = 201906
- pkgrel = 2
- url = https://tkool.jp/products/rtp.html
- arch = any
- license = custom: commercial
- makedepends = unshield
- makedepends = unarchiver
- makedepends = glibc
- optdepends = easyrpg-player: game engine for using the RTP
- noextract = 2000rtp.zip
- noextract = RTP_patchk_190612.zip
- source = https://tkool.jp/products/rtp/2000rtp.zip
- source = https://tkool.jp/products/rtp/RTP_patchk_190612.zip
- sha256sums = c130f0078c0d6ecc3404f94af8258e4557ab85c3b204397c7f21dbc57efeef8e
- sha256sums = 3041c57af04675b990da5709928fe7794cac2e4b21f6b526a81d310b353db3ad
-
+generated-by = makedeb
pkgname = rpg2000-rtp
-
+pkgbase = rpg2000-rtp
+pkgdesc = RPG Maker 2000 Runtime Package (Japanese)
+pkgrel = 0
+pkgver = 201906
+url = https://tkool.jp/products/rtp.html
+arch = all
+license = custom: commercial
+makedepends = unshield
+makedepends = convmv
+noextract = 2000rtp.zip
+noextract = RTP_patchk_190612.zip
+optdepends = easyrpg-player: game engine for using the RTP
+source = https://tkool.jp/products/rtp/2000rtp.zip
+source = https://tkool.jp/products/rtp/RTP_patchk_190612.zip
+sha256sums = c130f0078c0d6ecc3404f94af8258e4557ab85c3b204397c7f21dbc57efeef8e
+sha256sums = 3041c57af04675b990da5709928fe7794cac2e4b21f6b526a81d310b353db3ad
+makedepends = unshield
+makedepends = convmv
+optdepends = easyrpg-player: game engine for using the RTP
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1207a94
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg
+src
+rpg2000-rtp*
+RTP_patchk_190612.zip
+2000rtp.zip
diff --git a/PKGBUILD b/PKGBUILD
index a85843b..f4b94f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
-# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-
+# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
+# Contributor: carstene1ns (AUR) <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=rpg2000-rtp
pkgver=201906
-pkgrel=2
+pkgrel=0
pkgdesc="RPG Maker 2000 Runtime Package (Japanese)"
-arch=('any')
+arch=('all')
url="https://tkool.jp/products/rtp.html"
license=('custom: commercial')
-makedepends=('unshield' 'unarchiver' 'glibc')
+makedepends=('unshield' 'convmv')
optdepends=('easyrpg-player: game engine for using the RTP')
source=("https://tkool.jp/products/rtp/2000rtp.zip"
"https://tkool.jp/products/rtp/RTP_patchk_190612.zip")
@@ -17,17 +17,21 @@ noextract=('2000rtp.zip' 'RTP_patchk_190612.zip')
prepare() {
# cleanup
- rm -rf "RTPセットアップ" RPG2000RTP rtp 2000 RTP_patchk_190612
+ rm -rf rtp 2000 RTP_patchk_190612
# extract
- unar -e ms932 2000rtp.zip
- unar "RTPセットアップ"/RPG2000RTP.exe
- unshield -e ms932 -d rtp x RPG2000RTP/data1.cab
- unar -e ms932 RTP_patchk_190612.zip
- mv rtp/"RPGツクール2000_ランタイムパッケージ" 2000
+ bsdtar --strip-components 1 --include='*.exe' -xf 2000rtp.zip
+ bsdtar --include='*.txt' -O -xf 2000rtp.zip > "TOS-raw.txt"
+ bsdtar -xf RPG2000RTP.exe
+ unshield -R -d rtp x data1.cab
+ bsdtar -xf RTP_patchk_190612.zip
# convert text
- iconv -f ms932 -t UTF-8 "RTPセットアップ/使用規約.txt" > "使用規約.txt"
- iconv -f ms932 -t UTF-8 RTP_patchk_190612/"RTPの修正ファイルについて.txt" > "RTPの修正ファイルについて.txt"
+ convmv -f SHIFT-JIS -t UTF-8 -r --qfrom --notest rtp
+ convmv -f SHIFT-JIS -t UTF-8 -r --qfrom --notest RTP_patchk_190612
+ iconv -f ms932 -t UTF-8 "TOS-raw.txt" > "TOS.txt"
+ iconv -f ms932 -t UTF-8 RTP_patchk_190612/"RTPの修正ファイルについて.txt" > "PatchNotes.txt"
# apply patch
+ mv rtp/"RPGツクール2000_ランタイムパッケージ" 2000
+ rm 2000/RTP/Harmony.dll
mv RTP_patchk_190612/"モンスター.png" 2000/RTP/FaceSet
mv RTP_patchk_190612/"主人公3.png" 2000/RTP/CharSet
mv RTP_patchk_190612/{"基本","ダンジョン","船","内装","外観"}.png 2000/RTP/ChipSet
@@ -41,7 +45,7 @@ package() {
find "$pkgdir"/usr/share/rtp -type d -exec chmod 0755 {} \;
find "$pkgdir"/usr/share/rtp -type f -exec chmod 0644 {} \;
# license
- install -Dm0644 "使用規約.txt" -t "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm0644 "TOS.txt" -t "$pkgdir"/usr/share/doc/$pkgname
# patch doc
- install -Dm0644 "RTPの修正ファイルについて.txt" -t "$pkgdir"/usr/share/doc/$pkgname
+ install -Dm0644 "PatchNotes.txt" -t "$pkgdir"/usr/share/doc/$pkgname
}