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.
This commit is contained in:
Alexander Andreev 2022-10-07 03:56:15 +04:00
parent cfa5c344cd
commit aa6b0cd453
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
3 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top> # Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=kwh-cost-git pkgname=kwh-cost
pkgver=1.0.0 pkgver=1.1.0
pkgrel=1 pkgrel=1
pkgdesc="Calculates cost of electricity." pkgdesc="Calculates cost of electricity."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@ -10,7 +10,7 @@ makedepends=('git' 'gcc')
provides=('kwh-cost') provides=('kwh-cost')
conflicts=('kwh-cost') conflicts=('kwh-cost')
options=('strip') 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') md5sums=('SKIP')
build() { build() {

View File

@ -23,8 +23,6 @@ $ kwh-cost 4.02 120 30d 2h
Will give 348.29. Will give 348.29.
P.S.: Yeah, I pay 3.83 rubles per kWh. Which is just $0.05. :)
## Installation ## Installation
### Manually ### Manually

View File

@ -1,7 +1,7 @@
#ifndef _MAIN_H_ #ifndef _MAIN_H_
#define _MAIN_H_ #define _MAIN_H_
#define VERSION "1.0.0" #define VERSION "1.1.0"
typedef long double price_t; typedef long double price_t;
typedef long double wattage_t; typedef long double wattage_t;