Updated domain, added PREFIX to make, made use of $pkgver. Updated version to 1.1.1.

This commit is contained in:
Alexander Andreev 2023-09-17 22:45:14 +04:00
parent 044b898db3
commit b0f1b367d2
Signed by: Arav
GPG Key ID: D22A817D95815393
1 changed files with 6 additions and 6 deletions

View File

@ -1,16 +1,16 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top> # Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=kwh-cost pkgname=kwh-cost
pkgver=1.1.0 pkgver=1.1.1
pkgrel=1 pkgrel=1
pkgdesc="Calculates 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.su/Arav/kwh-cost"
license=('MIT') license=('MIT')
makedepends=('git' 'gcc') makedepends=('gcc')
provides=('kwh-cost') provides=('kwh-cost')
conflicts=('kwh-cost') conflicts=('kwh-cost')
options=('strip') options=('strip')
source=('https://git.arav.top/Arav/kwh-cost/archive/1.1.0.tar.gz') source=("${pkgver}.tar.gz::https://git.arav.su/Arav/kwh-cost/archive/${pkgver}.tar.gz")
md5sums=('SKIP') md5sums=('SKIP')
build() { build() {
@ -20,5 +20,5 @@ build() {
package() { package() {
cd "$srcdir/$pkgname" cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" PREFIX="/usr" install
} }