kwh-cost/PKGBUILD

20 lines
447 B
Bash
Raw Normal View History

2021-12-23 23:58:52 +04:00
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=kwh-cost
2021-12-23 23:58:52 +04:00
pkgver=1.0.0
pkgrel=1
pkgdesc="Calculate cost of electricity."
arch=('i686', 'x86_64', 'arm', 'armv6h', 'armv7h', 'aarch64')
url="https://git.arav.top/Arav/kwh-cost"
2021-12-23 23:58:52 +04:00
license=('MIT')
source=('git+https://git.arav.top/Arav/kwh-cost.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
}