feat: update installation instructions and add .SRCINFO for packaging
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
yay -S k-shrink
|
||||
```
|
||||
|
||||
AUR page: https://aur.archlinux.org/packages/k-shrink *(placeholder — submit PKGBUILD first)*
|
||||
AUR page: https://aur.archlinux.org/packages/k-shrink _(placeholder — submit PKGBUILD first)_
|
||||
|
||||
Then enable the service:
|
||||
|
||||
@@ -21,7 +21,7 @@ systemctl --user enable --now k-shrink.service
|
||||
**Prerequisites:** Rust toolchain, `wayland` libraries.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/PLACEHOLDER/k-shrink
|
||||
git clone https://github.com/GKaszewski/k-shrink
|
||||
cd k-shrink
|
||||
cargo build --release
|
||||
```
|
||||
@@ -54,7 +54,7 @@ mandb ~/.local/share/man # update man index
|
||||
## cargo install
|
||||
|
||||
```bash
|
||||
cargo install --git https://github.com/PLACEHOLDER/k-shrink k-shrink
|
||||
cargo install --git https://github.com/GKaszewski/k-shrink k-shrink
|
||||
```
|
||||
|
||||
Then enable the service (uses `%h/.cargo/bin/k-shrink`):
|
||||
|
||||
15
contrib/.SRCINFO
Normal file
15
contrib/.SRCINFO
Normal file
@@ -0,0 +1,15 @@
|
||||
pkgbase = k-shrink
|
||||
pkgdesc = Wayland clipboard daemon that automatically compresses copied images
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/GKaszewski/k-shrink
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = rust
|
||||
makedepends = cargo
|
||||
depends = wayland
|
||||
source = k-shrink-1.0.0.tar.gz::https://github.com/GKaszewski/k-shrink/archive/v1.0.0.tar.gz
|
||||
sha256sums = d26601148005821c03454ea91828e5af6f3506baa1b5860b220aaac5c305cc5d
|
||||
|
||||
pkgname = k-shrink
|
||||
@@ -9,7 +9,7 @@ license=('MIT')
|
||||
depends=('wayland')
|
||||
makedepends=('rust' 'cargo')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('SKIP')
|
||||
sha256sums=('d26601148005821c03454ea91828e5af6f3506baa1b5860b220aaac5c305cc5d')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
Reference in New Issue
Block a user