Add PKGBUILD for -git package
This commit is contained in:
parent
0e4c0f4ba5
commit
cca7f91303
2 changed files with 52 additions and 1 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -3,3 +3,9 @@ obj/
|
||||||
/packages/
|
/packages/
|
||||||
riderModule.iml
|
riderModule.iml
|
||||||
/_ReSharper.Caches/
|
/_ReSharper.Caches/
|
||||||
|
|
||||||
|
# AUR
|
||||||
|
deltatune-wls/
|
||||||
|
pkg/
|
||||||
|
src/
|
||||||
|
*.pkg.tar.zst
|
45
PKGBUILD
Normal file
45
PKGBUILD
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# 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=0e4c0f4ba5e8f502f8c461d8e71b53e158319bf7"
|
||||||
|
"git+https://git.meow.company/pancakes/ZwlrLayerShell.git")
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue