2023-09-17 22:45:14 +04:00
|
|
|
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
2022-10-07 03:56:15 +04:00
|
|
|
pkgname=kwh-cost
|
2023-09-17 22:45:14 +04:00
|
|
|
pkgver=1.1.1
|
2021-12-23 23:58:52 +04:00
|
|
|
pkgrel=1
|
2022-04-10 20:59:02 +04:00
|
|
|
pkgdesc="Calculates cost of electricity."
|
2021-12-30 03:34:56 +04:00
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
2023-09-17 22:45:14 +04:00
|
|
|
url="https://git.arav.su/Arav/kwh-cost"
|
2021-12-23 23:58:52 +04:00
|
|
|
license=('MIT')
|
2022-04-10 20:59:02 +04:00
|
|
|
options=('strip')
|
2023-09-17 22:45:14 +04:00
|
|
|
source=("${pkgver}.tar.gz::https://git.arav.su/Arav/kwh-cost/archive/${pkgver}.tar.gz")
|
2021-12-24 00:04:22 +04:00
|
|
|
md5sums=('SKIP')
|
2021-12-23 23:58:52 +04:00
|
|
|
|
|
|
|
build() {
|
2021-12-24 00:12:51 +04:00
|
|
|
cd "$srcdir/$pkgname"
|
2022-04-10 20:59:02 +04:00
|
|
|
make DESTDIR="$pkgdir/"
|
2021-12-23 23:58:52 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-12-24 00:26:18 +04:00
|
|
|
cd "$srcdir/$pkgname"
|
2023-09-17 22:45:14 +04:00
|
|
|
make DESTDIR="$pkgdir/" PREFIX="/usr" install
|
2021-12-23 23:58:52 +04:00
|
|
|
}
|