diff --git a/INSTALL.md b/INSTALL.md index 01df107..0932da7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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`): diff --git a/contrib/.SRCINFO b/contrib/.SRCINFO new file mode 100644 index 0000000..3bdd977 --- /dev/null +++ b/contrib/.SRCINFO @@ -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 diff --git a/contrib/PKGBUILD b/contrib/PKGBUILD index 2f62b2e..bd6a848 100644 --- a/contrib/PKGBUILD +++ b/contrib/PKGBUILD @@ -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"