Package Details: caprice32-git v4.5.0.r75.g76af8df-1

Git Clone URL: https://aur.archlinux.org/caprice32-git.git (read-only, click to copy)
Package Base: caprice32-git
Description: An emulator of the Amstrad CPC 8bit home computer range (CPC 464, 664, 6128)
Upstream URL: https://github.com/ColinPitrat/caprice32
Licenses: GPL2
Submitter: lifo2
Maintainer: FredBezies
Last Packager: FredBezies
Votes: 5
Popularity: 0.000000
First Submitted: 2016-01-06 16:12
Last Updated: 2019-09-03 21:27

Latest Comments

FredBezies commented on 2019-07-04 05:18

@klore: Simple fix to apply

Fixed PKGBUILD to follow:

# Maintainer: Colin Pitrat <colin dot pitrat at gmail dot com>
pkgname=caprice32-git
pkgver=r701.b779723
pkgrel=1
pkgdesc="An emulator of the Amstrad CPC 8bit home computer range (CPC 464, 664, 6128)"
arch=('i686' 'x86_64')
url="https://github.com/ColinPitrat/caprice32"
license=('GPL2')
depends=('sdl' 'zlib' 'gcc-libs')
source=(git://github.com/ColinPitrat/caprice32)
sha256sums=('SKIP')

pkgver() {
  cd caprice32
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
  cd caprice32
  make RELEASE=true
  sed -i 's,rom_path=.*,rom_path=/usr/share/caprice32/rom/,' cap32.cfg
  sed -i 's,resources_path=.*,resources_path=/usr/share/caprice32/resources/,' cap32.cfg
  sed -i 's,cart_path=.*,cart_path=/usr/share/caprice32/rom/,' cap32.cfg
}

package() {
  cd caprice32
  mkdir -p $pkgdir/usr/share/caprice32/rom
  cp rom/* $pkgdir/usr/share/caprice32/rom/
  mkdir -p $pkgdir/usr/share/caprice32/resources
  cp -r resources/* $pkgdir/usr/share/caprice32/resources
  install -Dm755 cap32.cfg "$pkgdir/etc/cap32.cfg"
  install -Dm755 cap32 "$pkgdir/usr/bin/cap32"
}

klore commented on 2019-02-07 18:52

hello, I cant compile

cp: -r not specified; omitting directory 'resources/freedesktop' ==> ERROR: A failure occurred in package(). Aborting...

MagnusW commented on 2016-12-28 14:59

Perhaps "glu" should be added to the list of dependencies.

FredBezies commented on 2016-09-11 17:10

Can you add a desktop file ? It will be simpler to launch Caprice32 this way!

Thanks.