From a80cc83275421e5c846e6b51ccb83290acb04bdd Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 23 Dec 2021 23:58:52 +0400 Subject: [PATCH] Archlinux's PKGBUILD. --- PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 PKGBUILD 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