diff options
author | maz-1 | 2015-10-29 23:00:15 +0800 |
---|---|---|
committer | maz-1 | 2015-10-29 23:00:15 +0800 |
commit | 59973373795168d2e9e7b3c47bebd6aa0e8d4460 (patch) | |
tree | 1b55f44d3b36843b2e8cc0d0555c35506e610f8b | |
download | aur-yumenikki-en.tar.gz |
init
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | yumenikki-en.desktop | 10 | ||||
-rw-r--r-- | yumenikki-en.png | bin | 0 -> 14086 bytes | |||
-rwxr-xr-x | yumenikki-en.sh | 22 |
5 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..304f436ffc67 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = yumenikki-en + pkgdesc = Surrealistic adventure game about exploring the dreams of a hikikomori character named Madotsuki.Also known as "Dream Diary". English Ver. + pkgver = 0.10 + pkgrel = 1 + url = http://www3.nns.ne.jp/pri/tk-mto/ + arch = any + license = custom + makedepends = curl + depends = easyrpg-player + source = yumenikki-en.7z::https://dl.dropbox.com/s/a5dqfazyfrvjr8f/yumenikki-en.7z?dl=1 + source = yumenikki-en.desktop + source = yumenikki-en.png + source = yumenikki-en.sh + md5sums = 3fb229c2435bc2781b8043a51eea75ec + md5sums = 8cf6b65c9a23295e5492b4bbb612cf56 + md5sums = b8f0addba27f5c18f806c35b933ec8d9 + md5sums = 60242abd08aa8eb8f8597ee1911b111d + +pkgname = yumenikki-en + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65cf00be1d7b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: maz-1 <ohmygod19993 at gmail dot com> +# http://www.theneitherworld.com/yumenikki/links.htm +# curl http://www.mediafire.com/download/98jpx2dm3f2te0h/Yume_Nikki.rar | grep -oP 'http://download\d{4}.mediafire.com/\S+/Yume_Nikki.rar' +_pkgname=yumenikki +pkgname=${_pkgname}-en +pkgver=0.10 +pkgrel=1 +pkgdesc="Surrealistic adventure game about exploring the dreams of a hikikomori character named Madotsuki.Also known as \"Dream Diary\". English Ver." +url='http://www3.nns.ne.jp/pri/tk-mto/' +arch=('any') +license=('custom') +depends=('easyrpg-player') +makedepends=('curl') +source=("yumenikki-en.7z::https://dl.dropbox.com/s/a5dqfazyfrvjr8f/yumenikki-en.7z?dl=1" + "${pkgname}.desktop" + "${pkgname}.png" + "${pkgname}.sh") +md5sums=('3fb229c2435bc2781b8043a51eea75ec' + '8cf6b65c9a23295e5492b4bbb612cf56' + 'b8f0addba27f5c18f806c35b933ec8d9' + '60242abd08aa8eb8f8597ee1911b111d') + + +package() { + + install -dm755 "$pkgdir/opt/" + install -dm755 "$pkgdir/usr/"{bin,share/applications,share/pixmaps} + + + cp -r "$srcdir/$pkgname" "$pkgdir/opt/$pkgname" + + cd "$pkgdir/opt/$pkgname" + + install -Dm755 "${srcdir}/${pkgname}.sh" "$pkgdir/usr/bin/$pkgname" + install -Dm755 "${srcdir}/${pkgname}.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm755 "${srcdir}/${pkgname}.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" + +} diff --git a/yumenikki-en.desktop b/yumenikki-en.desktop new file mode 100644 index 000000000000..ff86377ee82a --- /dev/null +++ b/yumenikki-en.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Dream Diary +Comment=Dream Diary +Exec=yumenikki-en +Icon=yumenikki-en +Terminal=false +StartupNotify=false +Categories=Application;Game; diff --git a/yumenikki-en.png b/yumenikki-en.png Binary files differnew file mode 100644 index 000000000000..1d93fc0b2ea3 --- /dev/null +++ b/yumenikki-en.png diff --git a/yumenikki-en.sh b/yumenikki-en.sh new file mode 100755 index 000000000000..15b8f4328da7 --- /dev/null +++ b/yumenikki-en.sh @@ -0,0 +1,22 @@ +#!/bin/sh +NAME=`basename $0` +VER=`pacman -Q $NAME | sed "s:$NAME ::g"` + +mkdir -p ~/.$NAME +cd ~/.$NAME + +#export RPG2K3_RTP_PATH=/opt/rpg2003-rtp + +[ "z"`cat ~/.$NAME/game.ver` = "z"$VER ] && exec easyrpg-player --encoding shift-jis || find -type l | while read line + do rm $line;done +echo $VER > ~/.$NAME/game.ver + +cd /opt/$NAME +find . -type d | while read line;do mkdir -p ~/.$NAME/$line;done +find . -type f | while read line +do + [ -f ~/."$NAME/$line" ] || ln -s "/opt/$NAME/$line" ~/."$NAME/$line" +done + +cd ~/.$NAME +exec easyrpg-player --encoding shift-jis |