summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 00c917c93438c6bd3d256f968ac39dcd515ea95a (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: Pellegrino Prevete <pellegrinoprevete@gmail.com>

pkgname=pops-usb-setup
pkgver=0.0.1
pkgrel=2
pkgdesc="Setup a USB drive for the POPS emulator"
arch=('any')
url="https://gitlab.com/tallero/pops-usb-setup"
license=('AGPL3')
depends=('python')
options=(!strip)
makedepends=('git' 'python-setuptools' 'wget')
source=("git+$url")
md5sums=(SKIP)

package() {
  cd $pkgname/pops_usb_setup/usb
  rm -rf bitbucket
  git clone "https://github.com/AnimMouse/POPS-binaries" bitbucket

  cd archive
  wget "https://archive.org/download/pops-iox/POPSTARTER.ELF"
  wget "https://archive.org/download/pops-iox/POPS_IOX.PAK"

  cd ../../../

  python3 setup.py install --root="$pkgdir"
}

# vim:set ts=2 sw=2 et: