From aa6b0cd453b4efd469f8aaaa0e4336851f676b39 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 7 Oct 2022 03:56:15 +0400 Subject: [PATCH] Version updated to 1.1.0. Now, instead of git repo cloning, release archive is being used. And let's remove that sentence from README. --- PKGBUILD | 6 +++--- README.md | 2 -- src/main.h | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 616a4ed..abdd801 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Alexander "Arav" Andreev -pkgname=kwh-cost-git -pkgver=1.0.0 +pkgname=kwh-cost +pkgver=1.1.0 pkgrel=1 pkgdesc="Calculates cost of electricity." arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -10,7 +10,7 @@ makedepends=('git' 'gcc') provides=('kwh-cost') conflicts=('kwh-cost') options=('strip') -source=('kwh-cost-git::git+https://git.arav.top/Arav/kwh-cost.git') +source=('https://git.arav.top/Arav/kwh-cost/archive/1.1.0.tar.gz') md5sums=('SKIP') build() { diff --git a/README.md b/README.md index 8e6bbb4..7520837 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ $ kwh-cost 4.02 120 30d 2h Will give 348.29. -P.S.: Yeah, I pay 3.83 rubles per kWh. Which is just $0.05. :) - ## Installation ### Manually diff --git a/src/main.h b/src/main.h index 9e746ae..6daa5ac 100644 --- a/src/main.h +++ b/src/main.h @@ -1,7 +1,7 @@ #ifndef _MAIN_H_ #define _MAIN_H_ -#define VERSION "1.0.0" +#define VERSION "1.1.0" typedef long double price_t; typedef long double wattage_t;