45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Maintainer: Your Name <youremail@domain.com>
|
|
pkgname=deltatune-wls-git
|
|
pkgver=r7.0e4c0f4
|
|
pkgrel=1
|
|
pkgdesc="A Linux and Wayland port of DeltaTune based on layer shell"
|
|
arch=("x86_64")
|
|
url="https://git.meow.company/pancakes/DeltatuneWls"
|
|
license=("unknown")
|
|
groups=()
|
|
depends=("dotnet-runtime" "gtk4-layer-shell")
|
|
makedepends=("dotnet-sdk" "git")
|
|
provides=("${pkgname%-VCS}")
|
|
conflicts=("${pkgname%-VCS}")
|
|
replaces=()
|
|
backup=()
|
|
options=("!strip")
|
|
install=
|
|
source=("${pkgname%-git}::git+https://git.meow.company/pancakes/DeltatuneWls#commit=f93a3cef4d2fdbde8fa0505f2647fbd825e7f7cc"
|
|
"git+https://git.meow.company/pancakes/ZwlrLayerShell#commit=8fbb1f42a070b83796b589d83bea6eeaa263ed60")
|
|
noextract=()
|
|
sha256sums=('SKIP' 'SKIP')
|
|
|
|
pkgver() {
|
|
cd "$srcdir/${pkgname%-git}"
|
|
|
|
# Git, no tags available
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
}
|
|
|
|
prepare() {
|
|
cd "$srcdir/${pkgname%-git}"
|
|
git submodule init
|
|
git config submodule.ZwlrLayerShell.url "$srcdir/ZwlrLayerShell"
|
|
git -c protocol.file.allow=always submodule update
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/${pkgname%-git}"
|
|
dotnet publish -r linux-x64
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname%-git}"
|
|
install -Dm755 DeltatuneWls/bin/Release/net9.0/linux-x64/publish/DeltatuneWls ${pkgdir}/usr/bin/deltatune-wls
|
|
}
|