# Maintainer: Folke H. 'joru' Gleumes pkgname=kickoff pkgver=0.7.2 pkgrel=1 pkgdesc="A simple and uncomplicated program launcher for wayland" makedepends=('cargo' 'cmake' 'freetype2' 'pkgconf' 'fontconfig' 'libxkbcommon') arch=('x86_64') url="https://github.com/j0ru/kickoff" license=('GPL3') source=("$pkgname-$pkgver.tar.gz::https://github.com/j0ru/kickoff/archive/v$pkgver.tar.gz") sha512sums=('1b4b2a83fd64c6b4d4b1f58d4b8c1b43d4477a0b5b04c10cc5fd0bad38c98281d3c1812b1593691268b26c9dcc6fed3cc8b9f69d506fd53de29530ec02e76a73') export RUSTUP_TOOLCHAIN=stable CARGO_PROFILE_RELEASE_LTO=true prepare() { cd "$pkgname-$pkgver" cargo fetch --locked --target x86_64-unknown-linux-gnu } build() { cd "$pkgname-$pkgver" cargo build --release --frozen --all-features --target-dir=target } package() { cd "$pkgname-$pkgver" install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" }