blob: 308045b1b361ee215f6cd300c7c125553877da0c (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Ultracoolguy <dummyd241 at gmaildotcom>
pkgname="switch-lan-play-git"
pkgver=v0.1.0.r4.f62bf0c
pkgrel=1.2
epoch=0
pkgdesc="A program for connecting to fanmade Nintendo Switch servers--see url for more info"
arch=(any)
url="https://github.com/spacemeowx2/switch-lan-play"
license=('GPL3')
groups=()
deplaypends=(libpcap)
makedepends=(cmake)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('switch-lan-play::git+https://github.com/spacemeowx2/switch-lan-play.git')
noextract=()
md5sums=('SKIP')
gitname=switch-lan-play
pkgver() {
cd $gitname
git describe --tags | sed 's/-/.r/; s/-g/./'
}
build() {
cd $gitname
if [[ ! -d build ]] ;then
mkdir build
fi
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd $gitname/build
make DESTDIR="$pkgdir/" install
}
|