24 lines
591 B
Bash
24 lines
591 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')
|
|
makedepends=('gcc')
|
|
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
|
|
} |