summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a70444b2d039e3a423101fc1cfc236d98c2bab3a (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
# Maintainer: Sterophonick
pkgname=nocashgba-debugger
_pkgname='nocashgba-debugger'
pkgver=3.05
pkgrel=2
pkgdesc='Game Boy Advance / Nintendo DS debugger and emulator'
arch=(x86_64 i686)
depends=('wine' 'winetricks')
makedepends=('p7zip')
source=(https://problemkaputt.de/no\$gba.zip
        nocashgba-debugger
        nocashgba-debugger.desktop
        nocashgba-debugger.png)
md5sums=('660df5b0ba4af13958babd48a796f1da'
         'SKIP'
         'SKIP'
         'SKIP')
noextract=(no\$gba.zip)

prepare() {
  cd $srcdir
  mkdir -p nocash
  7z x no\$gba.zip -aou -onocash
}

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

  mkdir -p $pkgdir/usr/share/nocashgba-debugger

  cp -r $srcdir/nocash/* $pkgdir/usr/share/nocashgba-debugger
  chmod -R 777 $pkgdir/usr/share/nocashgba-debugger
}