summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d62f26f6ccd3baab5db692f75677ddacb910814 (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
# Maintainer: Sterophonick
pkgname=goomba-color
_pkgname='goomba-color'
pkgver=2019.05.04
pkgrel=1
pkgdesc='DMG/CGB emulator for Game Boy Advance'
arch=(x86_64 i686)
depends=('wine' 'winetricks')
source=(https://www.dwedit.org/gba/goombacolor_2019_5_4.zip
        goomba-front
        goomba-front.desktop
        goomba-front.png)
md5sums=('be58df7b75858b665e64898daaf6e3d3'
         'SKIP'
         'SKIP'
         'SKIP')
options=(!debug !strip)

package() {
  install -Dm755 goomba-front $pkgdir/usr/bin/goomba-front
  install -Dm644 goomba-front.desktop $pkgdir/usr/share/applications/goomba-front.desktop
  install -Dm644 goomba-front.png $pkgdir/usr/share/pixmaps/goomba-front.png

  mkdir -p $pkgdir/usr/share/goomba-color

  cp -r $srcdir/goombafront.exe $pkgdir/usr/share/goomba-color
  cp -r $srcdir/gbctrim.exe $pkgdir/usr/share/goomba-color
  cp -r $srcdir/goomba.gba $pkgdir/usr/share/goomba-color
  chmod -R 777 $pkgdir/usr/share/goomba-color
}