PKGBUILD made right.
This commit is contained in:
parent
9673e4cd9d
commit
8937e237dd
12
PKGBUILD
12
PKGBUILD
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user