diff options
author | Joe Slam | 2017-01-30 21:08:01 +0100 |
---|---|---|
committer | Joe Slam | 2017-01-30 21:08:01 +0100 |
commit | f3c285ec9ca7d0c3d1416cf1adcf4816590a863d (patch) | |
tree | b2c1eedfce63c7beff534a98eec88f0baf1dae70 /PKGBUILD | |
download | aur-f3c285ec9ca7d0c3d1416cf1adcf4816590a863d.tar.gz |
initial upload to new aur
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4b0fa228dafa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: produnis <joe dot slam at produnis dot de> +# Contributor: archtux <antonio dot arias99999 at gmail dot com> + +pkgname=parajve +pkgver=0.7.0 +pkgrel=2 +pkgdesc="Advanced emulator for the GCE Vectrex game console(1982) with built-in game ROMS." +arch=('any') +url="http://www.vectrex.fr/ParaJVE/" +license=('custom') +depends=('java-runtime') +install=$pkgname.install +source=(http://www.gametronik.com/site/rubriques/niCGE/Emulateurs/ParaJVE_0.7.0_linux.tgz + http://dl.openhandhelds.org/dingoo/screenshots/splash.png + LICENSE + $pkgname + $pkgname.desktop) +md5sums=('146dcf4bd42865d5fb930dde6a8d34f5' + '3b44b85d75849edd67bc021e2e03317e' + '7f135fe82df5edc0b1b9952851837b53' + 'e17a3dd4473b2b65ae257fbd045466bc' + 'a0536133a127435f8f715d5dd68da074') + +package() { + cd $srcdir/ParaJVE + + # Delete unneeded files + if [ "${CARCH}" = 'x86_64' ]; then + rm libs/setup/*32* + elif [ "${CARCH}" = 'i686' ]; then + rm libs/setup/*64* + fi + + # Data + mkdir -p $pkgdir/usr/share/$pkgname + cp -r * $pkgdir/usr/share/$pkgname + + # Start file + cd .. + install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname + + # License + install -Dm644 LICENSE $pkgdir/usr/share/licenses/ParaJVE/LICENSE + + # Desktop icon + install -Dm644 splash.png $pkgdir/usr/share/pixmaps/$pkgname.png + install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop + + # Write permissions + chmod 777 -R $pkgdir/usr/share/$pkgname +} |