Archlinux's PKGBUILD.

This commit is contained in:
Alexander Andreev 2021-12-23 23:58:52 +04:00
parent 5edcbf9fa0
commit a80cc83275
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

20
PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=kwh-calc
pkgver=1.0.0
pkgrel=1
epoch=0
pkgdesc="Calculate cost of electricity."
arch=('any')
url="https://git.arav.top/Arav/kwh-calc"
license=('MIT')
source=('git+https://git.arav.top/Arav/kwh-calc.git')
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir/" install
}