summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b252169aa9575b35e0699ce431c81f97e8ec7e6 (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
# Maintainer: Sterophonick
pkgname=pocketnes
_pkgname='pocketnes'
pkgver=1.2a
pkgrel=1
pkgdesc='PocketNES ROM Builder'
arch=(x86_64 i686)
depends=('wine' 'winetricks')
source=(https://www.dwedit.org/gba/pocketnes_2013_07_01.zip
        pocketnes
        pocketnes.desktop
        pocketnes.png)
md5sums=('2bc7fbfaf80eeadfc5b6145d370db800'
         'SKIP'
         'SKIP'
         'SKIP')
options=(!debug !strip)

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

  mkdir -p $pkgdir/usr/share/pocketnes

  cp -r $srcdir/apack.exe $pkgdir/usr/share/pocketnes
  cp -r $srcdir/menumaker.txt $pkgdir/usr/share/pocketnes
  cp -r $srcdir/nespack7.exe $pkgdir/usr/share/pocketnes
  cp -r $srcdir/pnesmmw.exe $pkgdir/usr/share/pocketnes
  cp -r $srcdir/pnesmmw.mdb $pkgdir/usr/share/pocketnes
  cp -r $srcdir/pocketnes.gba $pkgdir/usr/share/pocketnes
  chmod -R 777 $pkgdir/usr/share/pocketnes
}