diff options
author | Amolith | 2024-02-21 15:22:49 -0500 |
---|---|---|
committer | Amolith | 2024-02-21 15:22:49 -0500 |
commit | 046ead37ce0fc499c0c07f2ae7985dbb23577671 (patch) | |
tree | 0a4f0b0ed4c2a6ad8880a5f878c3e7002d0d344f | |
download | aur-046ead37ce0fc499c0c07f2ae7985dbb23577671.tar.gz |
Initial commit at v0.0.4
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 20 |
3 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..50f15f02989b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = watt-wiser-sensors-bin + pkgdesc = A software energy consumption estimation tool + pkgver = v0.0.4 + pkgrel = 1 + url = https://github.com/wattwisegames/watt-wiser + arch = any + license = Unlicense + provides = watt-wiser-sensors + conflicts = watt-wiser-sensors + source = watt-wiser-v0.0.4-linux.tar.xz::https://github.com/wattwisegames/watt-wiser/releases/download/v0.0.4/watt-wiser-v0.0.4-linux.tar.xz + sha256sums = 7c8bf25b0ba4f166387a922ffbd860404e65d312a14c8efa7bd64f991ff7e146 + +pkgname = watt-wiser-sensors-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..875d9e00d62e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/watt-wiser* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2048eeeb1641 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Amolith <amolith@secluded.site> +pkgname="watt-wiser-sensors-bin" +_pkgname=${pkgname%-bin} +pkgdesc="A software energy consumption estimation tool" +_repo="watt-wiser" +pkgver="v0.0.4" +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) + +sha256sums=('7c8bf25b0ba4f166387a922ffbd860404e65d312a14c8efa7bd64f991ff7e146') + +package() { + cd "${_repo}-${pkgver}-linux" + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" +} |