Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit d917318

Browse files
committed
feat(pkg): add NurOS APG package support
- APG metadata and build in GitHub Actions - Distributed in releases alongside other formats
1 parent 6b13920 commit d917318

2 files changed

Lines changed: 77 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,51 @@ jobs:
108108
name: aether-command-ubuntu
109109
path: "*.deb"
110110

111+
build-apg:
112+
name: Build NurOS APG
113+
runs-on: ubuntu-latest
114+
115+
steps:
116+
- name: Checkout code
117+
uses: actions/checkout@v4
118+
119+
- name: Install dependencies
120+
run: |
121+
sudo apt-get update
122+
sudo apt-get install -y build-essential libgtk-4-dev libadwaita-1-dev libvte-2.91-gtk4-dev valac meson ninja-build
123+
124+
- name: Build project
125+
run: |
126+
meson setup builddir --prefix=/usr
127+
ninja -C builddir
128+
129+
- name: Build APG package
130+
run: |
131+
# Prepare APG build directory
132+
mkdir -p apg-build/data
133+
134+
# Install files
135+
DESTDIR="${PWD}/apg-build/data" ninja -C builddir install
136+
137+
# Copy metadata
138+
cp packaging/apg/metadata.json apg-build/
139+
140+
# Generate md5sums
141+
cd apg-build
142+
find data -type f -exec md5sum {} \; > md5sums
143+
144+
# Create APG package
145+
tar -czf ../aether-command-0.1.0-alpha-x86_64.apg metadata.json md5sums data/
146+
147+
- name: Upload artifact
148+
uses: actions/upload-artifact@v4
149+
with:
150+
name: aether-command-apg
151+
path: "*.apg"
152+
111153
release:
112154
name: Create Release
113-
needs: [build-arch, build-fedora, build-ubuntu]
155+
needs: [build-arch, build-fedora, build-ubuntu, build-apg]
114156
runs-on: ubuntu-latest
115157
if: startsWith(github.ref, 'refs/tags/v')
116158

@@ -125,6 +167,7 @@ jobs:
125167
aether-command-arch/*.pkg.tar.zst
126168
aether-command-fedora/*.rpm
127169
aether-command-ubuntu/*.deb
170+
aether-command-apg/*.apg
128171
draft: false
129172
prerelease: true
130173
body: |
@@ -156,5 +199,10 @@ jobs:
156199
```bash
157200
sudo apt install ./aether-command_*.deb
158201
```
202+
203+
**NurOS:**
204+
```bash
205+
tulpar install aether-command-*.apg
206+
```
159207
env:
160208
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

packaging/apg/metadata.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "aether-command",
3+
"version": "0.1.0-alpha",
4+
"type": "binary",
5+
"architecture": "x86_64",
6+
"description": "Modern terminal emulator for AetherDE desktop environment",
7+
"maintainer": "AnmiTaliDev <anmitali198@gmail.com>",
8+
"license": "GPL-3.0-or-later",
9+
"tags": [
10+
"terminal",
11+
"emulator",
12+
"aetherde",
13+
"gtk4",
14+
"libadwaita"
15+
],
16+
"homepage": "https://github.com/NurOS-Linux/command",
17+
"dependencies": [
18+
"gtk4 >= 4.0",
19+
"libadwaita >= 1.0",
20+
"vte >= 0.70"
21+
],
22+
"conflicts": [],
23+
"provides": [
24+
"terminal-emulator"
25+
],
26+
"replaces": [],
27+
"conf": []
28+
}

0 commit comments

Comments
 (0)