23 lines
571 B
Bash
23 lines
571 B
Bash
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
|
pkgname=kwh-cost
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
pkgdesc="Calculates cost of electricity."
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
|
url="https://git.arav.su/Arav/kwh-cost"
|
|
license=('MIT')
|
|
provides=('kwh-cost')
|
|
conflicts=('kwh-cost')
|
|
options=('strip')
|
|
source=("${pkgver}.tar.gz::https://git.arav.su/Arav/kwh-cost/archive/${pkgver}.tar.gz")
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/"
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" PREFIX="/usr" install
|
|
} |