kwh-cost/PKGBUILD

24 lines
569 B
Bash
Raw Normal View History

2021-12-23 23:58:52 +04:00
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
2022-04-10 20:59:02 +04:00
pkgname=kwh-cost-git
2021-12-23 23:58:52 +04:00
pkgver=1.0.0
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.top/Arav/kwh-cost"
2021-12-23 23:58:52 +04:00
license=('MIT')
2022-04-10 20:59:02 +04:00
makedepends=('git' 'gcc')
provides=('kwh-cost')
conflicts=('kwh-cost')
options=('strip')
source=('kwh-cost-git::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"
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"
2021-12-23 23:58:52 +04:00
make DESTDIR="$pkgdir/" install
}