Archlinux's PKGBUILD.
This commit is contained in:
parent
5edcbf9fa0
commit
a80cc83275
20
PKGBUILD
Normal file
20
PKGBUILD
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user