stable pkgbuild
This commit is contained in:
parent
12509e9709
commit
ecf3a59d6b
|
|
@ -1,12 +1,13 @@
|
|||
# Maintainer: Paul Jones <paul@spacefreak18.xyz>
|
||||
_reponame=monocoque
|
||||
pkgname=monocoque-git
|
||||
pkgver=0.1.0
|
||||
pkgname=monocoque
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Device Manager for Racing Sims"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/spacefreak18/monocoque"
|
||||
license=('GPL3')
|
||||
_commit=12509e9709871afcb3ae264823b4a7d3c3b71bf7
|
||||
depends=(
|
||||
hidapi
|
||||
libserialport
|
||||
|
|
@ -19,20 +20,23 @@ makedepends=(
|
|||
git
|
||||
cmake
|
||||
)
|
||||
source=(
|
||||
git+https://github.com/spacefreak18/monocoque
|
||||
)
|
||||
|
||||
source=("git+https://github.com/spacefreak18/monocoque.git#commit=$_commit")
|
||||
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
build() {
|
||||
cd "$srcdir" || exit 1
|
||||
cd monocoque || exit 1
|
||||
git submodule sync --recursive
|
||||
git submodule update --init --recursive
|
||||
cd ..
|
||||
cmake \
|
||||
-B "${_reponame}/build" \
|
||||
-S "${_reponame}" \
|
||||
-DUSE_PULSEAUDIO=YES \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
|
||||
-Wno-dev
|
||||
|
|
|
|||
Loading…
Reference in New Issue