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

sha256sums=('6db5612ede2c6307f24047e7c9a82223536fc2c97c81e0e6b774877b8d280634')
sha512sums=('3f41194f5c1b88bb2e3e35b3363657e11568c1909aaea755790f31d61d8e5ba0448dfe4e1fb78f9e291ca9ea24cd307e56fffdb584fd1e51e1c2f28f24e95f12')
b2sums=('df5b85474a505b0ac3e852fb1ffe2883d58411a0fa00a83f223b1209bdd3fc575a9c8aa48e9f719ca59bb0f594bcdd938c77f71ec68f4bf0138a7c86fea252ba')

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