summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b227cd286087c52cb551e744c4cc1d762f08a07d (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
# Maintainer: Aptivi <ceo at aptivi dot anonaddy dot com>
pkgname=nitrocid-26-git
pkgver=v0.1.1.32.r7.0f571f8cd
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')
provides=("${pkgname%-git}" "${pkgname%-git}-lite" "${pkgname}-lite")
conflicts=("${pkgname%-git}" "${pkgname%-git}-lite" "${pkgname}-lite")
options=('!strip')
source=("${pkgname}::git+https://github.com/Aptivi/Nitrocid#branch=v0.1.1.x-saas")
sha256sums=('SKIP')

pkgver() {
	cd "${pkgname}"
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

prepare() {
	cd "${pkgname}"
	make init-offline
	make clean
	git submodule update --init --remote
}

build() {
	cd "${pkgname}"
	make all-offline
}

package() {
	cd "${pkgname}"
	make install DESTDIR="$pkgdir"
}