Skip to content

Commit 4740798

Browse files
author
MadGoat
committed
chore: repository hygiene and release v0.2.1-2 preparation
1 parent 6efaa2f commit 4740798

File tree

5 files changed

+87
-2
lines changed

5 files changed

+87
-2
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,12 @@ run_*.json
130130
# Internal Planning & Development
131131
# ============================================================================
132132
plans/
133+
134+
# ============================================================================
135+
# Repository Hygiene - Phase 3, Chunk 1
136+
# ============================================================================
137+
/goatd-kernel-bin/GOATd-Kernel/
138+
*.tar.gz
139+
*.sha256
140+
goatd-kernel-bin/src/
141+
goatd-kernel-bin/pkg/

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "goatd_kernel"
3-
version = "0.2.1"
3+
version = "0.2.1-2"
44
edition = "2021"
55
description = "GOATd Kernel Builder - Pure Rust + egui UI"
66
authors = ["GOATd Kernel Team"]

goatd-kernel-bin/.SRCINFO

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pkgbase = goatd-kernel-bin
2+
pkgdesc = GOATd Kernel Builder - Pure Rust + egui UI for building and managing kernels (binary release)
3+
pkgver = 0.2.1
4+
pkgrel = 2
5+
url = https://github.com/MadGoatHaz/GOATd-Kernel
6+
arch = x86_64
7+
license = GPL-2.0+
8+
depends = gcc-libs
9+
depends = glibc
10+
depends = openssl
11+
optdepends = modprobed-db: For modprobed-db integration support
12+
optdepends = scx-scheds: For sched-ext kernel scheduler support
13+
optdepends = polly: For LLVM vectorization support
14+
source = goatdkernel-0.2.1-x86_64.tar.gz::https://github.com/MadGoatHaz/GOATd-Kernel/releases/download/v0.2.1/goatdkernel-0.2.1-x86_64.tar.gz
15+
source = git+https://github.com/MadGoatHaz/GOATd-Kernel.git#tag=v0.2.1
16+
source = https://github.com/MadGoatHaz/GOATd-Kernel/releases/download/v0.2.1/goatdkernel.png
17+
sha256sums = b915145b72f49533b4248119eeda979878cb1fc7e10871c0c76347915c3a58c7
18+
sha256sums = SKIP
19+
sha256sums = SKIP
20+
21+
pkgname = goatd-kernel-bin

goatd-kernel-bin/PKGBUILD

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Maintainer: Your Name <your.email@example.com>
2+
pkgname=goatd-kernel-bin
3+
pkgver=0.2.1
4+
pkgrel=2
5+
pkgdesc="GOATd Kernel Builder - Pure Rust + egui UI for building and managing kernels (binary release)"
6+
arch=('x86_64')
7+
url="https://github.com/MadGoatHaz/GOATd-Kernel"
8+
license=('GPL-2.0+')
9+
depends=('gcc-libs' 'glibc' 'openssl')
10+
# Note: gcc-libs persists in depends for C runtime compatibility despite LLVM toolchain enforcement
11+
optdepends=('modprobed-db: For modprobed-db integration support'
12+
'scx-scheds: For sched-ext kernel scheduler support'
13+
'polly: For LLVM vectorization support')
14+
# Note: Adjust the download URL and sha256sum based on the GitHub Release artifacts
15+
# The binary tarball should be named: goatdkernel-${pkgver}-x86_64.tar.gz
16+
# Extract URL from: https://github.com/MadGoatHaz/GOATd-Kernel/releases/download/v${pkgver}/
17+
source=("goatdkernel-${pkgver}-x86_64.tar.gz::https://github.com/MadGoatHaz/GOATd-Kernel/releases/download/v${pkgver}/goatdkernel-${pkgver}-x86_64.tar.gz"
18+
"git+https://github.com/MadGoatHaz/GOATd-Kernel.git#tag=v${pkgver}"
19+
"https://github.com/MadGoatHaz/GOATd-Kernel/releases/download/v${pkgver}/goatdkernel.png")
20+
sha256sums=('b915145b72f49533b4248119eeda979878cb1fc7e10871c0c76347915c3a58c7'
21+
'SKIP'
22+
'SKIP')
23+
24+
package() {
25+
# Install binary from the downloaded tarball
26+
install -Dm 755 "${srcdir}/goatd_kernel" "${pkgdir}/usr/bin/goatd_kernel"
27+
28+
# Install desktop entry from source
29+
cd "${srcdir}/GOATd-Kernel"
30+
install -Dm 644 assets/goatdkernel.desktop "${pkgdir}/usr/share/applications/goatdkernel.desktop"
31+
32+
# Install icon
33+
install -Dm644 "${srcdir}/goatdkernel.png" "${pkgdir}/usr/share/pixmaps/goatdkernel.png"
34+
35+
# Install polkit policy
36+
install -Dm 644 assets/com.goatd.kernel.policy "${pkgdir}/usr/share/polkit-1/actions/com.goatd.kernel.policy"
37+
38+
# Install documentation
39+
install -Dm 644 README.md "${pkgdir}/usr/share/doc/goatdkernel/README.md"
40+
}
41+
42+
# Post-install message
43+
post_install() {
44+
echo "GOATd Kernel Builder has been installed!"
45+
echo "To run: goatd_kernel"
46+
echo ""
47+
echo "Optional dependencies for enhanced features:"
48+
echo " - Install modprobed-db: yay -S modprobed-db"
49+
echo " - Install scx-scheds: yay -S scx-scheds"
50+
echo " - Install polly (from AUR): yay -S polly"
51+
}
52+
53+
post_upgrade() {
54+
post_install
55+
}

0 commit comments

Comments
 (0)