summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8677d4f2aac811223f5fabcdec76292e5e6f8580 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Sterophonick

pkgname=winarcadia-bin
_pkgname='winarcadia-bin'
pkgver=32.3
pkgrel=1
pkgdesc='Emulator/Debugger of various Signetics 2650 game consoles'
url='https://amigan.1emu.net/releases'
arch=(x86_64 i686)
depends=('wine')
makedepends=(p7zip)
source=(https://amigan.1emu.net/releases/WinArcadia-bin.rar
        winarcadia
        winarcadia.desktop
        winarcadia.png)
noextract=(WinArcadia-bin.rar) # makepkg sucks at rars
md5sums=('SKIP' # this program is updated REALLY often :sob:
         'SKIP'
         'SKIP'
         'SKIP')

prepare() {
  mkdir -p $srcdir/zip
  7z x WinArcadia-bin.rar -o$srcdir/zip
}

package() {
  cd $srcdir
  install -Dm755 winarcadia $pkgdir/usr/bin/winarcadia
  install -Dm644 winarcadia.desktop $pkgdir/usr/share/applications/winarcadia.desktop
  install -Dm644 winarcadia.png $pkgdir/usr/share/pixmaps/winarcadia.png

  mkdir -p $pkgdir/usr/share/winarcadia/
  cp -r zip/* $pkgdir/usr/share/winarcadia
  chmod -R 777 $pkgdir/usr/share/winarcadia
}