summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViachaslau Khalikin2016-04-04 04:19:57 +0300
committerViachaslau Khalikin2016-04-04 04:19:57 +0300
commit06c21a6ab92dd43a9816b24573d1dbf22c5eabf9 (patch)
treef6ebc2db3a7a0847164b03dea0995e7077c2caee
parentb0816c368c457c3ad014d479556c6f29a5eb09e7 (diff)
downloadaur-06c21a6ab92dd43a9816b24573d1dbf22c5eabf9.tar.gz
new version
-rw-r--r--PKGBUILD23
-rw-r--r--phoenix-emu-project15
2 files changed, 32 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 88979a20601..60f2c2da2e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Viachaslau Khalikin <vkhinegret@gmail.com>
pkgname=phoenix-emu-project
-pkgver=2.3.4
+pkgver=2.5
pkgrel=1
pkgdesc="An emulator of 3DO consoles. 100% compatible!"
url="http://www.arts-union.ru/node/23"
@@ -9,17 +9,28 @@ license=('custom')
arch=('x86_64')
depends=('qt5-base' 'openal' 'glu')
install="phoenix-emu-project.install"
-source=("http://www.arts-union.ru/sites/default/files/ph234-linux-x64.zip"
- phoenix-emu-project.desktop)
-md5sums=('a3ab1a102a1788b91eeeb327d3191b1f'
- '7f9b5652c512887d7e034cc8c07b2045')
+source=("http://www.arts-union.ru/sites/default/files/ph25-lin-x64.zip"
+ phoenix-emu-project.desktop
+ phoenix-emu-project)
+md5sums=('a311f2143af0f70cc91b701865134d02'
+ '7f9b5652c512887d7e034cc8c07b2045'
+ '9f5ad5e6700d4082a24c53c033184207')
+prepare() {
+ echo
+}
package() {
cd "$srcdir"
# about licenses
install -d "$pkgdir/usr/share/licenses/phoenix-emu-project"
install -m644 licenses.txt "$pkgdir/usr/share/licenses/phoenix-emu-project"
# startup script and executable
- install -Dm755 PhoenixEmuProject-2.3.4 "$pkgdir/usr/bin/phoenix-emu-project"
+ install -d "$pkgdir/opt/phoenix-emu-project/"{,scalers,shaders,skin{,/rc}}
+ install -Dm755 PhoenixEmuProject "$pkgdir/opt/phoenix-emu-project/"
+ install -Dm755 phoenix-emu-project "$pkgdir/usr/bin/phoenix-emu-project"
+ install -Dm644 scalers/* "$pkgdir/opt/phoenix-emu-project/scalers/"
+ install -Dm644 shaders/* "$pkgdir/opt/phoenix-emu-project/shaders/"
+ install -Dm644 skin/style.* "$pkgdir/opt/phoenix-emu-project/skin/"
+ install -Dm644 skin/rc/* "$pkgdir/opt/phoenix-emu-project/skin/rc"
# desktop icon
install -Dm645 phoenix-emu-project.desktop "$pkgdir/usr/share/applications/phoenix-emu-project.desktop"
install -Dm644 logo.png "$pkgdir/usr/share/pixmaps/phoenix-emu-project-logo.png"
diff --git a/phoenix-emu-project b/phoenix-emu-project
new file mode 100644
index 00000000000..6a8bf9a1169
--- /dev/null
+++ b/phoenix-emu-project
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+confdir=$HOME/.config/PhoenixEmuProject
+mkdir -p $confdir
+cd $confdir
+if [ ! -s $confdir/scales ] ; then
+ cp -ar /opt/phoenix-emu-project/scales $confdir/scales
+fi
+if [ ! -s $confdir/shaders ] ; then
+ cp -ar /opt/phoenix-emu-project/shaders $confdir/shaders
+fi
+if [ ! -s $confdir/skin ] ; then
+ cp -ar /opt/phoenix-emu-project/skin $confdir/skin
+fi
+/opt/phoenix-emu-project/PhoenixEmuProject