diff options
| -rw-r--r-- | .SRCINFO | 12 | ||||
| -rw-r--r-- | Cargo.lock | 4 | ||||
| -rw-r--r-- | PKGBUILD | 23 | ||||
| -rw-r--r-- | scripts/check.sh | 4 |
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 @@ -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 |