diff options
author | amagura | 2015-06-08 23:20:22 -0600 |
---|---|---|
committer | amagura | 2015-06-08 23:20:22 -0600 |
commit | ae7ac85975fb4d9344133657eda49764f51cd635 (patch) | |
tree | d2d89d1486dbaed0303226edf9da9489589e5a8b | |
download | aur-ae7ac85975fb4d9344133657eda49764f51cd635.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | epsxe.desktop | 10 | ||||
-rw-r--r-- | epsxe.install | 14 | ||||
-rw-r--r-- | epsxe.png | bin | 0 -> 757 bytes | |||
-rw-r--r-- | epsxe.sh | 2 |
6 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2dfa41e0d746 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = epsxe + pkgdesc = Enhanced PSX emulator + pkgver = 1.9.25 + pkgrel = 3 + url = http://epsxe.com + install = epsxe.install + arch = i686 + arch = x86_64 + license = unknown + options = !strip + source = epsxe.desktop + source = epsxe.png + source = epsxe.sh + source = http://www.epsxe.com/files/epsxe1925lin.zip + md5sums = 087234e20ae9147f83df24b69fc93bca + md5sums = eb0c46b8ae1355c589792f6be1835e47 + md5sums = 1d6d07e9e1c97ed2a7ce46a9b7419654 + md5sums = dc54e1e3406b0010e0552cffabb16c0f + +pkgname = epsxe + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c4f248eaa965 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Alexej Magura <agm2819*gmail*> +# Contributor: Swen Simon <swsimon at gmail dot com> +# +pkgname=epsxe +pkgver=1.9.25 +pkgrel=3 +pkgdesc="Enhanced PSX emulator" +url="http://epsxe.com" +arch=('i686' 'x86_64') +[ "$CARCH" = "i686" ] && depends+=(gtk2 sdl_ttf libtinfo) +[ "$CARCH" = "x86_64" ] && depends+=(lib32-gtk2 lib32-ncurses lib32-libxt lib32-sdl_ttf lib32-alsa-lib lib32-libtinfo) +license=('unknown') +install=${pkgname}.install +options=(!strip) +source=(${pkgname}.desktop ${pkgname}.png ${pkgname}.sh + "http://www.epsxe.com/files/epsxe${pkgver//./}lin.zip") +md5sums=('087234e20ae9147f83df24b69fc93bca' + 'eb0c46b8ae1355c589792f6be1835e47' + '1d6d07e9e1c97ed2a7ce46a9b7419654' + 'dc54e1e3406b0010e0552cffabb16c0f') + +package () { + cd "$srcdir" + install -m775 -g games -d "$pkgdir/opt/$pkgname/"{plugins,bios,memcards,cfg,cdimages,cheats,patches,sstates,snap} + install -d "$pkgdir"/usr/share/doc/"$pkgname" + + find docs -name 'e???e_*.txt' -execdir install -m 644 -t $pkgdir/usr/share/doc/$pkgname \{\} + + # find . -name '*.cht' -execdir "install -Dm 644 -t \$pkgdir/opt/$pkgname/$pkgver/cheats\"" \{\} + + + install -Dm 755 ${pkgname} "$pkgdir/opt/$pkgname/$pkgname" + install -Dm 644 keycodes.lst "$pkgdir/opt/$pkgname/keycodes.lst" + + install -Dm 755 ${pkgname}.sh "$pkgdir/usr/bin/$pkgname" + install -Dm 644 "$srcdir/epsxe.png" "$pkgdir/usr/share/pixmaps/${pkgname}.png" + install -Dm 644 "$srcdir/epsxe.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop" + + ln -sf "$HOME/.${pkgname}rc" -T "$pkgdir/opt/$pkgname/.${pkgname}rc" +} diff --git a/epsxe.desktop b/epsxe.desktop new file mode 100644 index 000000000000..79fddd36c8d7 --- /dev/null +++ b/epsxe.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=ePSXe +GenericName=ePSXe +Comment=Enhanced PSX emulator +Icon=/opt/epsxe/pixmaps/epsxe.png +TryExec=/opt/epsxe/epsxe +Exec=/opt/epsxe/epsxe +Terminal=false +Categories=Game; diff --git a/epsxe.install b/epsxe.install new file mode 100644 index 000000000000..0bdc25feb6e7 --- /dev/null +++ b/epsxe.install @@ -0,0 +1,14 @@ +post_install() { + cat << EOF + +Add your user to group 'games' in order to play. + +There are launcher packages out for epsxe. Search +AUR for epsxe-launcher-* if you want to use it. + +EOF +} + +op=$1 +shift +$op $* diff --git a/epsxe.png b/epsxe.png Binary files differnew file mode 100644 index 000000000000..fdd413a63904 --- /dev/null +++ b/epsxe.png diff --git a/epsxe.sh b/epsxe.sh new file mode 100644 index 000000000000..752db078664d --- /dev/null +++ b/epsxe.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +/opt/epsxe/epsxe "$@" |