kwh-cost/PKGBUILD

21 lines
506 B
Bash
Raw Normal View History

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=kwh-cost
2024-05-19 21:57:38 +04:00
pkgver=1.1.3
2021-12-23 23:58:52 +04:00
pkgrel=1
2022-04-10 20:59:02 +04:00
pkgdesc="Calculates cost of electricity."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
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')
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"
make
2021-12-23 23:58:52 +04:00
}
package() {
2021-12-24 00:26:18 +04:00
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" PREFIX="/usr" install
2021-12-23 23:58:52 +04:00
}