From b0f1b367d2f4bf25ff6e8769792be508ef3f2e2a Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 17 Sep 2023 22:45:14 +0400 Subject: [PATCH] Updated domain, added PREFIX to make, made use of $pkgver. Updated version to 1.1.1. --- PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index abdd801..408de98 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,16 +1,16 @@ -# Maintainer: Alexander "Arav" Andreev +# Maintainer: Alexander "Arav" Andreev pkgname=kwh-cost -pkgver=1.1.0 +pkgver=1.1.1 pkgrel=1 pkgdesc="Calculates cost of electricity." 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') -makedepends=('git' 'gcc') +makedepends=('gcc') provides=('kwh-cost') conflicts=('kwh-cost') 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') build() { @@ -20,5 +20,5 @@ build() { package() { cd "$srcdir/$pkgname" - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir/" PREFIX="/usr" install } \ No newline at end of file