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:
parent
cfa5c344cd
commit
aa6b0cd453
6
PKGBUILD
6
PKGBUILD
@ -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() {
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user