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