Package Details: switch-lan-play 0.2.3-1

Git Clone URL: https://aur.archlinux.org/switch-lan-play.git (read-only, click to copy)
Package Base: switch-lan-play
Description: Make you and your friends play games like in a LAN
Upstream URL: https://github.com/spacemeowx2/switch-lan-play
Keywords: gaming Nintendo Nintendo-Switch
Licenses: GPL3
Submitter: Ultracoolguy
Maintainer: connesc
Last Packager: connesc
Votes: 3
Popularity: 0.000000
First Submitted: 2019-04-18 14:45 (UTC)
Last Updated: 2020-11-20 18:14 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Pinned Comments

Ultracoolguy commented on 2019-12-13 19:02 (UTC)

I moved this package to switch-lan-play-git. If anyone is currently using this then please switch to that one. I'm gonna orphan this package since I only want to mantain that one.

Ultracoolguy commented on 2019-04-18 14:48 (UTC)

  1. The project isn't mine. Thank spacemeowx2 for this.

  2. Bear in mind, this is my first PKGBUILD. I will accept any cleaning recommendations.

Latest Comments

caiye commented on 2021-03-11 16:55 (UTC) (edited on 2021-03-11 17:04 (UTC) by caiye)

I've come up with some improvements, hopefully making it conform to Arch's CMake package guidelines:

  • libuv and uvw are treated as proper dependencies, thus no unnecessary builds.
  • Fix install prefix to /usr. Was /usr/local (CMake default).
  • Simplify CMake commands.

PKGBUILD follows:

pkgname=switch-lan-play
pkgver=0.2.3
pkgrel=2
pkgdesc='Make you and your friends play games like in a LAN'
arch=('i686' 'x86_64')
url='https://github.com/spacemeowx2/switch-lan-play'
license=('GPL3')
depends=('libpcap' 'libuv')
makedepends=('cmake' 'uvw')
source=("git+https://github.com/spacemeowx2/$pkgname.git#tag=v$pkgver")
sha256sums=('SKIP')

build() {
    cmake -S "$pkgname" -B build -Wno-dev \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DUVW_LIBRARY=ON \
        -DUV_LIBRARY=ON
    make -C build
}

package() {
    make -C build DESTDIR="$pkgdir/" install
}

Luca91 commented on 2020-04-05 20:40 (UTC)

@connesc thank you for adopting this package. I'm using it and I prefer to stick to official releases instead of the current git one.

connesc commented on 2019-12-30 21:31 (UTC)

I will adopt this package to track official releases.

Ultracoolguy commented on 2019-12-13 19:02 (UTC)

I moved this package to switch-lan-play-git. If anyone is currently using this then please switch to that one. I'm gonna orphan this package since I only want to mantain that one.

Ultracoolguy commented on 2019-07-17 18:48 (UTC)

Thanks, will do those changes now. Sorry, I'm a bit new to the AUR(which is why this is my first package).

Raimar commented on 2019-07-09 20:19 (UTC)

I think you mean "depends=(libpcap)" instead of "deplaypends=(libpcap)".

Tip: You can avoid using extra variable gitname by using

source=("$pkgname::git+${url}.git")

Ultracoolguy commented on 2019-04-18 14:48 (UTC)

  1. The project isn't mine. Thank spacemeowx2 for this.

  2. Bear in mind, this is my first PKGBUILD. I will accept any cleaning recommendations.