Package Details: nes-emu r178.1549ac3-1

Git Clone URL: https://aur.archlinux.org/nes-emu.git (read-only, click to copy)
Package Base: nes-emu
Description: A Nintendo Entertainment System emulator written in C++, Foked by Porta.
Upstream URL: https://github.com/portalmaster137/nes-emu
Licenses: MIT
Submitter: porta
Maintainer: porta
Last Packager: porta
Votes: 0
Popularity: 0.000000
First Submitted: 2024-10-17 04:26 (UTC)
Last Updated: 2024-10-17 04:26 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

FabioLolix commented on 2024-10-17 15:37 (UTC)

This install in /usr/local instead of /usr, cmake build type is not set (Arch packaging prefers it set to None)

All the things can be fixed with:

build() {
  cmake -B build -S "nes-emu" -Wno-dev \
    -DCMAKE_BUILD_TYPE=None \
    -DCMAKE_INSTALL_PREFIX=/usr

  cmake --build build
}

package() {
  DESTDIR="${pkgdir}" cmake --install build
  install -D nes-emu/LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

FabioLolix commented on 2024-10-17 15:30 (UTC)

A license like MIT which isn't part of the licenses package need to be installed in "${pkgdir}/usr/share/licenses/${pkgname}"

FabioLolix commented on 2024-10-17 15:27 (UTC)

Hello, since this is a VCS pkgbuild in disguise please re-upload as nes-emu