From 0adf08c1ac223a54ab837c9485edf368fad4ef34 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 1 Aug 2023 12:32:58 -0700 Subject: [PATCH] Updated PKGBUILD --- Cargo.lock | 2 +- Cargo.toml | 2 +- PKGBUILD | 17 +++++++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d6f681..e68914f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "daisycalc" -version = "0.2.13" +version = "0.2.14" dependencies = [ "cfg-if", "rug", diff --git a/Cargo.toml b/Cargo.toml index 062c6ea..69fd526 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daisycalc" -version = "0.2.13" +version = "0.2.14" edition = "2021" build = "buildscript/main.rs" license = "GPL-3.0-only" diff --git a/PKGBUILD b/PKGBUILD index a449d42..5abd5d7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,15 @@ -pkgname=daisycalc -pkgver=0.2.5 +# Maintainer: Mark +pkgname=daisy +_cargoname=daisycalc +pkgver=0.2.14 pkgrel=1 +pkgdesc="TUI scientific calculator with support for units." +url="https://git.betalupi.com/Mark/daisy" +license=('GPL') makedepends=('rust' 'cargo') arch=('i686' 'x86_64' 'armv6h' 'armv7h') +source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$_cargoname/$_cargoname-$pkgver.crate") -#source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") - -build() { - return 0 -} prepare() { export RUSTUP_TOOLCHAIN=stable @@ -28,4 +29,4 @@ check() { package() { install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" -} +} \ No newline at end of file