Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
git clone --depth 1 https://github.com/HacknetAOS/hacknet-core.git
git clone --depth 1 https://github.com/HacknetAOS/hacknet-shell.git
git clone --depth 1 https://github.com/HacknetAOS/hacknet-theme.git
git clone --depth 1 https://github.com/HacknetAOS/hacknet-settings.git || true
chown -R builder:builder /home/builder/src

- name: Auto-bump pkgrel above published repo versions
Expand Down
2 changes: 1 addition & 1 deletion build-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo "=== Building HacknetAOS packages ==="
echo "Source root: $HACKNET_SRC"
echo "Output dir: $PKG_DIR"

for pkg in hacknet-keyring yay hacknet-proto hacknet-theme hacknetd hacknetctl hacknet-shell hacknet-os; do
for pkg in hacknet-keyring yay hacknet-proto hacknet-theme hacknetd hacknetctl hacknet-shell hacknet-settings hacknet-os; do
echo ""
echo "--- Building $pkg ---"
cd "$SCRIPT_DIR/$pkg"
Expand Down
3 changes: 2 additions & 1 deletion hacknet-os/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: HacknetAOS <hacknetaos@users.noreply.github.com>
pkgname=hacknet-os
pkgver=0.1.0
pkgrel=6
pkgrel=7
pkgdesc="HacknetOS meta-package - complete fixed-grid Wayland desktop"
arch=(x86_64)
url="https://github.com/HacknetAOS/packages"
Expand All @@ -13,6 +13,7 @@ depends=(
'hacknetctl'
'hacknet-theme'
'hacknet-shell'
'hacknet-settings'

# Compositor & desktop runtime
'hyprland'
Expand Down
38 changes: 38 additions & 0 deletions hacknet-settings/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Maintainer: HacknetAOS <hacknetaos@users.noreply.github.com>
pkgname=hacknet-settings
pkgver=0.2.0
pkgrel=1
pkgdesc="Modular GTK4 system, desktop, theme, input, and keybind settings application for HacknetOS"
arch=(any)
url="https://github.com/HacknetAOS/hacknet-settings"
license=(GPL-3.0-or-later)
depends=(python python-gobject gtk4 hacknetctl hacknet-theme)
source=()
sha256sums=()

_find_settings_dir() {
for d in "${HACKNET_SRC:-}/hacknet-settings" "${HACKNET_SRC:-}" "$startdir/../../hacknet-settings"; do
if [ -n "$d" ] && [ -d "$d/hacknet_settings" ]; then
echo "$d"
return 0
fi
done
echo "."
}

package() {
local sdir sitedir
sdir="$(_find_settings_dir)"
sitedir="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')"

install -Dm755 "$sdir/bin/hacknet-settings" "$pkgdir/usr/bin/hacknet-settings"
install -Dm644 "$sdir/data/hacknet-settings.desktop" "$pkgdir/usr/share/applications/hacknet-settings.desktop"
install -Dm644 "$sdir/data/style.css" "$pkgdir/usr/share/hacknet-settings/style.css"
install -Dm644 "$sdir/README.md" "$pkgdir/usr/share/doc/hacknet-settings/README.md"
install -Dm644 "$sdir/LICENSE" "$pkgdir/usr/share/licenses/hacknet-settings/LICENSE"

find "$sdir/hacknet_settings" -type f -name '*.py' | while read -r pyfile; do
rel="${pyfile#"$sdir"/}"
install -Dm644 "$pyfile" "$pkgdir/$sitedir/$rel"
done
}
2 changes: 1 addition & 1 deletion hacknet-shell/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: HacknetAOS <hacknetaos@users.noreply.github.com>
pkgname=hacknet-shell
pkgver=0.1.0
pkgrel=65
pkgrel=66
pkgdesc="HacknetOS Quickshell desktop shell (panels, widgets, overlays, greeter)"
arch=(any)
url="https://github.com/HacknetAOS/hacknet-shell"
Expand Down
2 changes: 1 addition & 1 deletion hacknetd/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: HacknetAOS <hacknetaos@users.noreply.github.com>
pkgname=hacknetd
pkgver=0.1.0
pkgrel=18
pkgrel=19
pkgdesc="HacknetOS window placement daemon (grid, NetMap, theme IPC)"
arch=(x86_64)
url="https://github.com/HacknetAOS/hacknet-core"
Expand Down
Loading