-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathPKGBUILD-REL
37 lines (34 loc) · 1.06 KB
/
PKGBUILD-REL
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
# Maintainer: Aptivi <ceo at aptivi dot anonaddy dot com>
pkgname=nitrocid-27
pkgver=3.1.27.0+0.1.2.0
pkgrel=1
pkgdesc="Simulates our future-planned kernel"
arch=('x86_64' 'aarch64')
url="https://aptivi.github.io"
license=('GPL-3.0-or-later')
depends=('dotnet-runtime-8.0' 'tzdata')
makedepends=('git' 'dotnet-sdk-8.0' 'make' 'which')
optdepends=('jack2: Jack support for BassBoom addon'
'portaudio: PortAudio support for BassBoom addon'
'openal: OpenAL support for BassBoom addon'
'sdl2: SDL support for BassBoom addon'
'libpulse: PulseAudio support for BassBoom addon')
options=('!strip')
source=("${pkgname}::git+https://github.com/Aptivi/Nitrocid#tag=v0.1.2.0")
sha256sums=('SKIP')
prepare() {
cd "${pkgname}"
HOME=`pwd`/nuget DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet restore Nitrocid.sln
mkdir -p deps
cp nuget/.nuget/packages/*/*/*.nupkg deps/
rm -rf nuget
cp tools/OfflineNuGet.config ./NuGet.config
}
build() {
cd "${pkgname}"
HOME="$srcdir/homedir" DOTNET_CLI_TELEMETRY_OPTOUT=1 make all-offline
}
package() {
cd "${pkgname}"
make install DESTDIR="$pkgdir"
}