summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorprofessorkaos642016-09-20 13:13:22 -0400
committerprofessorkaos642016-09-20 13:13:22 -0400
commit43f160273206021192eb905e233c17c6230abe96 (patch)
treef0fa869944f38e52bd60a00acc8977c05f245162
parent3c08c2baa1d1d0f577dfb70dd2cf8a0d29ca5292 (diff)
downloadaur-43f160273206021192eb905e233c17c6230abe96.tar.gz
add desktop file and icon
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
-rw-r--r--play-emu.desktop9
-rw-r--r--play.pngbin0 -> 5804 bytes
4 files changed, 24 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 100f89e62082..7a0058dfda4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,7 +15,11 @@ pkgbase = play-emu-git
depends = qt5-base
depends = zlib
source = Play-Build::git+https://github.com/jpd002/Play-Build.git
+ source = play-emu.desktop
+ source = play.png
md5sums = SKIP
+ md5sums = 59e7114de681f2f96730697cde4f4595
+ md5sums = 2c6db31d8119437e5af6fa95b4c1fb8f
pkgname = play-emu-git
diff --git a/PKGBUILD b/PKGBUILD
index 3f86b27b7c67..39e421cf843c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,12 @@ license=('GPL')
makedepends=('git')
depends=('boost' 'cmake' 'glew' 'mysql++' 'openal'
'qt5-base' 'zlib')
-source=('Play-Build::git+https://github.com/jpd002/Play-Build.git')
-md5sums=('SKIP')
+source=('Play-Build::git+https://github.com/jpd002/Play-Build.git'
+ 'play-emu.desktop'
+ 'play.png')
+md5sums=('SKIP'
+ '59e7114de681f2f96730697cde4f4595'
+ '2c6db31d8119437e5af6fa95b4c1fb8f')
pkgver() {
@@ -39,6 +43,11 @@ build() {
package() {
install -d $pkgdir/usr/bin
+ install -d $pkgdir/usr/share/pixmaps
+ install -d $pkgdir/usr/share/applications
+
install -m755 $srcdir/$_gitname/Play/build_unix/build-ui/Play-Ui $pkgdir/usr/bin/play-emu
+ install -m755 play.png $pkgdir/usr/share/pixmaps/play.png
+ install -m755 play-emu.desktop $pkgdir/usr/share/applications/play-emu.desktop
}
diff --git a/play-emu.desktop b/play-emu.desktop
new file mode 100644
index 000000000000..0427f8b406e1
--- /dev/null
+++ b/play-emu.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Play!
+GenericName=Play!
+X-GNOME-FullName=Playstation 2 Emulator.
+Comment=Playstation 2 Emulator
+Exec=play-emu
+Icon=/usr/share/pixmaps/play.png
+Terminal=false
+Type=Game;ActionGame;
diff --git a/play.png b/play.png
new file mode 100644
index 000000000000..972c72e01e85
--- /dev/null
+++ b/play.png
Binary files differ