summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2e50e75796ad7b2c20a8b6f64c19a4795110007e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Sashanoraa <sasha@noraa.gay>

pkgname=kitty-img
pkgver=0.1.0
pkgrel=1
pkgdesc="Print images inline in kitty"
arch=('x86_64' 'i686' 'arm' 'armv7h' 'aarch64')
url="https://sr.ht/~zethra/kitty-img/"
license=('MIT')
source=("https://git.sr.ht/~zethra/kitty-img/archive/$pkgver.tar.gz")
makedepends=('rust' 'cargo')
sha256sums=('49dd64b4b353a85a16488f9a293bafb7b68b811ef2fa8d7d24116e32e5854fe8')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    cargo build --release --locked
}

package() {
    install -D -m755 "$srcdir/$pkgname-$pkgver/target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}