aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2025-05-25 10:56:48 +0800
committerHsiangNianian <i@jyunko.cn>2025-05-25 10:56:48 +0800
commit825d076225e29b19939938f08958b49b101a5e9e (patch)
tree6386427a977457d33c5974467b1f36de3ff037eb
parentbf711826e1bad8d5a2076d39f29a55d5c7ca46f1 (diff)
parentdab388da8e452a4f82f1297bf20c48254028d1c1 (diff)
downloadsoon-825d076225e29b19939938f08958b49b101a5e9e.tar.gz
soon-825d076225e29b19939938f08958b49b101a5e9e.zip
Merge branch 'master' of https://github.com/HsiangNianian/soon
-rw-r--r--.SRCINFO12
-rw-r--r--Cargo.lock4
-rw-r--r--PKGBUILD23
-rw-r--r--scripts/check.sh4
4 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..cc28ed0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = soon
+ pkgdesc = 🤖 Predict your next shell command based on history — like shell autocomplete, but MORE stupid
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/HsiangNianian/soon
+ arch = x86_64
+ license = MIT
+ makedepends = cargo
+ source = soon-0.1.2.tar.gz::https://github.com/HsiangNianian/soon/archive/refs/tags/v0.1.2.tar.gz
+ sha256sums = SKIP
+
+pkgname = soon
diff --git a/Cargo.lock b/Cargo.lock
index f84845d..28eecc8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -248,6 +248,7 @@ dependencies = [
name = "soon"
<<<<<<< HEAD
<<<<<<< HEAD
+<<<<<<< HEAD
version = "0.1.3"
=======
version = "0.1.1"
@@ -255,6 +256,9 @@ version = "0.1.1"
=======
version = "0.1.2"
>>>>>>> fc7b603 (feat: Bump version to 0.1.2 in Cargo.toml, Cargo.lock, and PKGBUILD)
+=======
+version = "0.1.2"
+>>>>>>> dab388da8e452a4f82f1297bf20c48254028d1c1
dependencies = [
"clap",
"colored",
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..9ba2713
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=soon
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="🤖 Predict your next shell command based on history — like shell autocomplete, but MORE stupid"
+arch=('x86_64')
+url="https://github.com/HsiangNianian/soon"
+license=('MIT')
+depends=()
+makedepends=('cargo')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/HsiangNianian/soon/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cargo build --release --locked
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm755 "target/release/soon" "$pkgdir/usr/bin/soon"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+}
diff --git a/scripts/check.sh b/scripts/check.sh
index 88a1e87..9769507 100644
--- a/scripts/check.sh
+++ b/scripts/check.sh
@@ -2,4 +2,8 @@ for hash in $(git rev-list --max-count=10 HEAD); do
echo "Checking $hash..."
git ls-tree --name-only -r $hash | grep -q '^PKGBUILD$' || echo "❌ Missing PKGBUILD in $hash"
done
+<<<<<<< HEAD
makepkg --printsrcinfo > .SRCINFO
+=======
+makepkg --printsrcinfo > .SRCINFO
+>>>>>>> dab388da8e452a4f82f1297bf20c48254028d1c1