PKGBUILD made right.

This commit is contained in:
Alexander Andreev 2022-04-10 20:59:02 +04:00
parent 9673e4cd9d
commit 8937e237dd
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -1,17 +1,21 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top> # Maintainer: Alexander "Arav" Andreev <me@arav.top>
pkgname=kwh-cost pkgname=kwh-cost-git
pkgver=1.0.0 pkgver=1.0.0
pkgrel=1 pkgrel=1
pkgdesc="Calculate cost of electricity." pkgdesc="Calculates cost of electricity."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/kwh-cost" url="https://git.arav.top/Arav/kwh-cost"
license=('MIT') 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') md5sums=('SKIP')
build() { build() {
cd "$srcdir/$pkgname" cd "$srcdir/$pkgname"
make make DESTDIR="$pkgdir/"
} }
package() { package() {