makedeb
RPG Maker 2003 Runtime Package (Japanese)
Click here to go back to the commit logs for rpg2003-rtp.
Hash: 114e8ccc98bb5a9f5b4ba4e6d369db0766db7353
Message: minor, mv to /usr/share/games
diff --git a/.SRCINFO b/.SRCINFO
index 19d28d3..a2733a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = rpg2003-rtp
pkgbase = rpg2003-rtp
pkgdesc = RPG Maker 2003 Runtime Package (Japanese)
-pkgrel = 0
+pkgrel = 1
pkgver = 2003
url = https://tkool.jp/products/rtp.html
arch = all
diff --git a/PKGBUILD b/PKGBUILD
index d9f912c..7577978 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: maz-1 (AUR) <ohmygod19993 at gmail dot com>
pkgname=rpg2003-rtp
pkgver=2003
-pkgrel=0
+pkgrel=1
pkgdesc="RPG Maker 2003 Runtime Package (Japanese)"
arch=('all')
url="https://tkool.jp/products/rtp.html"
@@ -32,11 +32,14 @@ prepare() {
package() {
# data
- install -d "$pkgdir"/usr/share/rtp
- cp -r 2003/RTP "$pkgdir"/usr/share/rtp/2003
+ install -d "$pkgdir"/usr/share/games/rtp
+ cp -r 2003/RTP "$pkgdir"/usr/share/games/rtp/2003
+ # link from /usr/share/rtp
+ install -dm755 "$pkgdir"/usr/share/rtp/
+ ln -sf /usr/share/games/rtp/2003 "$pkgdir"/usr/share/rtp/2003
# sane permissions
- find "$pkgdir"/usr/share/rtp -type d -exec chmod 0755 {} \;
- find "$pkgdir"/usr/share/rtp -type f -exec chmod 0644 {} \;
+ find "$pkgdir"/usr/share/games/rtp -type d -exec chmod 0755 {} \;
+ find "$pkgdir"/usr/share/games/rtp -type f -exec chmod 0644 {} \;
# license
install -Dm0644 "TOS.txt" -t "$pkgdir"/usr/share/doc/$pkgname
}