makedeb
RPG Maker 2000 Runtime Package (Japanese)
Click here to go back to the commit logs for rpg2000-rtp.
Hash: ef50dff2772c373821a9c3d680e26e6410403ac3
Message: minor, mv to /usr/share/games
diff --git a/.SRCINFO b/.SRCINFO
index 8b6dfa8..8906445 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb
pkgname = rpg2000-rtp
pkgbase = rpg2000-rtp
pkgdesc = RPG Maker 2000 Runtime Package (Japanese)
-pkgrel = 0
+pkgrel = 1
pkgver = 201906
url = https://tkool.jp/products/rtp.html
arch = all
diff --git a/PKGBUILD b/PKGBUILD
index f4b94f0..1c2dc26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: carstene1ns (AUR) <arch carsten-teibes de> - http://git.io/ctPKG
pkgname=rpg2000-rtp
pkgver=201906
-pkgrel=0
+pkgrel=1
pkgdesc="RPG Maker 2000 Runtime Package (Japanese)"
arch=('all')
url="https://tkool.jp/products/rtp.html"
@@ -39,11 +39,15 @@ prepare() {
package() {
# data
- install -Dm0644 2000/RPG2000.ico "$pkgdir"/usr/share/rtp/RPG2000.ico
- cp -r 2000/RTP "$pkgdir"/usr/share/rtp/2000
+ install -Dm0644 2000/RPG2000.ico "$pkgdir"/usr/share/games/rtp/RPG2000.ico
+ cp -r 2000/RTP "$pkgdir"/usr/share/games/rtp/2000
+ # link from /usr/share/rtp
+ install -dm644 "$pkgdir"/usr/share/rtp/
+ ln -sf /usr/share/games/rtp/2000 "$pkgdir"/usr/share/rtp/2000
+ ln -sf /usr/share/games/rtp/RPG2000.ico "$pkgdir"/usr/share/rtp/RPG2000.ico
# 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
# patch doc