From 8937e237ddf5c7b2c866ce5106bedf9c5733843c Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 10 Apr 2022 20:59:02 +0400 Subject: [PATCH] PKGBUILD made right. --- PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c1f7220..616a4ed 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,17 +1,21 @@ # Maintainer: Alexander "Arav" Andreev -pkgname=kwh-cost +pkgname=kwh-cost-git pkgver=1.0.0 pkgrel=1 -pkgdesc="Calculate cost of electricity." +pkgdesc="Calculates cost of electricity." arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://git.arav.top/Arav/kwh-cost" license=('MIT') -source=('git+https://git.arav.top/Arav/kwh-cost.git') +makedepends=('git' 'gcc') +provides=('kwh-cost') +conflicts=('kwh-cost') +options=('strip') +source=('kwh-cost-git::git+https://git.arav.top/Arav/kwh-cost.git') md5sums=('SKIP') build() { cd "$srcdir/$pkgname" - make + make DESTDIR="$pkgdir/" } package() {