diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..91b7445 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Alexander "Arav" Andreev +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 +} \ No newline at end of file