kwh-cost/PKGBUILD

21 lines
506 B
Bash
Raw Permalink Normal View History

# Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=kwh-cost
pkgver=1.1.2
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
}