Skip to content

Commit 2edb8d7

Browse files
committed
Add initial Debian package structure and APT repository files
1 parent 4fcaeaa commit 2edb8d7

File tree

7 files changed

+59
-0
lines changed

7 files changed

+59
-0
lines changed

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,17 @@ Cargo.lock
77
.env
88

99
chat_history.json
10+
11+
/node_modules/
12+
/yappus-website/node_modules/
13+
14+
# Debian build residue omgggggg
15+
*.buildinfo
16+
*.changes
17+
*.deb
18+
debian/.debhelper/
19+
debian/debhelper-build-stamp
20+
debian/yappus/
21+
debian/yappus.substvars
22+
debian/files
23+
debian/source

apt/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<body>
3+
Yappus Terminal APT Repository
4+
</body>
5+
</html>

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
yappus (0.1.0) unstable; urgency=medium
2+
3+
* Initial release.
4+
5+
-- MostlyK <bruvistrue93@gmail.com> Thu, 14 Mar 2025 12:34:56 +0000

debian/control

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: yappus
2+
Section: utils
3+
Priority: optional
4+
Maintainer: MostlyK <bruvistrue93@gmail.com>
5+
Build-Depends: debhelper-compat (= 13), cargo, rustc, pkg-config, libssl-dev
6+
Standards-Version: 4.5.1
7+
Homepage: https://github.com/MostlyKIGuess/Yappus-Term
8+
9+
Package: yappus
10+
Architecture: any
11+
Depends: ${shlibs:Depends}, ${misc:Depends}
12+
Description: A terminal interface for your AI terminal assistant.
13+
Yappus is a terminal application that provides an interface to
14+
interact with AI models in your terminal.

debian/copyright

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: yappus
3+
Source: https://github.com/MostlyKIGuess/Yappus-Term
4+
5+
Files: *
6+
Copyright: 2023-2025 MostlyK
7+
License: MIT

debian/rules

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/make -f
2+
export CARGO_HOME=/tmp/cargo
3+
export PATH := $(HOME)/.cargo/bin:/usr/local/bin:$(PATH)
4+
5+
%:
6+
dh $@
7+
8+
override_dh_auto_build:
9+
if [ ! -f $(HOME)/.cargo/bin/rustc ]; then curl -sSf https://sh.rustup.rs | sh -s -- -y; fi
10+
$(HOME)/.cargo/bin/rustc --version
11+
$(HOME)/.cargo/bin/cargo build --release
12+
13+
override_dh_auto_install:
14+
install -D -m755 target/release/yappus debian/yappus/usr/bin/yappus

install-yappus.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)