kwh-cost/PKGBUILD

21 lines
406 B
Bash
Raw Normal View History

2021-12-23 23:58:52 +04:00
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=kwh-calc
pkgver=1.0.0
pkgrel=1
epoch=0
pkgdesc="Calculate cost of electricity."
arch=('any')
url="https://git.arav.top/Arav/kwh-calc"
license=('MIT')
source=('git+https://git.arav.top/Arav/kwh-calc.git')
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"
2021-12-23 23:58:52 +04:00
make
}
package() {
2021-12-24 00:26:18 +04:00
cd "$srcdir/$pkgname"
2021-12-23 23:58:52 +04:00
make DESTDIR="$pkgdir/" install
}