include recomendations from package guidelines

This commit is contained in:
j0ru 2023-02-03 14:28:17 +01:00 committed by Folke H. Gleumes
parent 35cd90edb8
commit 56cce3baea
No known key found for this signature in database
2 changed files with 10 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = kickoff
pkgdesc = A simple and uncomplicated program launcher for wayland
pkgver = 0.6.0
pkgrel = 1
pkgrel = 2
url = https://github.com/j0ru/kickoff
arch = x86_64
license = GPL3

View file

@ -1,7 +1,7 @@
# Maintainer: Folke H. 'joru' Gleumes <folke-aur@gleumes.org>
pkgname=kickoff
pkgver=0.6.0
pkgrel=1
pkgrel=2
pkgdesc="A simple and uncomplicated program launcher for wayland"
makedepends=('cargo' 'cmake' 'freetype2' 'pkgconf')
arch=('x86_64')
@ -10,11 +10,17 @@ license=('GPL3')
source=("$pkgname-$pkgver.tar.gz::https://github.com/j0ru/kickoff/archive/v$pkgver.tar.gz")
sha512sums=('4d28ab4e86d60020bbad0d0ee8ddbe0d5e3df7e6e4acc33b36a2cd832e69a78ee3afd7311e56490041f2a52684fd581086cf87ae70997b36cbb1cfa3a481ed68')
build() {
export RUSTUP_TOOLCHAIN=stable CARGO_PROFILE_RELEASE_LTO=true
prepare() {
cd "$pkgname-$pkgver"
cargo build --release --locked --all-features --target-dir=target
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"