summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5eb0fc297220aa5cd66745425027c26af5708f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Amolith <amolith@secluded.site>
pkgname="watt-wiser-bin"
_pkgname=${pkgname%-bin}
pkgdesc="A software energy consumption estimation tool"
_repo="watt-wiser"
pkgver=v0.1.3
pkgrel=2
arch=("any")
url="https://github.com/wattwisegames/$_repo"
license=("Unlicense")
conflicts=("watt-wiser-git" "watt-wiser-sensors-git" "watt-wiser" "watt-wiser-sensors")
depends=("watt-wiser-sensors-bin" "xdg-desktop-portal")

source=("${_repo}-${pkgver}-linux.tar.xz"::"${url}/releases/download/${pkgver}/${_repo}-${pkgver}-linux.tar.xz")
b2sums=('7dfc3f2232b7f9bc65340bb80c5611297d69bb7e10336e496e00dd7a5f51e7e8f0fa68019fa59d8953b86cbf6373f5727e208c0a785784e482f74c748907a400')

package() {
  cd "${_repo}-${pkgver}-linux"
  install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}