mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
initial commit
This commit is contained in:
commit
d1069c52cf
5 changed files with 72 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = wattage
|
||||
pkgdesc = An application designed for monitoring the health and status of your power devices.
|
||||
pkgver = 1.0.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/v81d/wattage
|
||||
arch = x86_64
|
||||
license = GPL-3.0-or-later
|
||||
makedepends = meson
|
||||
makedepends = vala
|
||||
depends = gtk4
|
||||
depends = libadwaita
|
||||
depends = libgee
|
||||
source = wattage-1.0.2.tar.gz::https://github.com/v81d/wattage/archive/refs/tags/1.0.2.tar.gz
|
||||
sha256sums = d33382090787a125378dd53978d1f0c24596ea8d4223dd6c0479c78eaad83f6f
|
||||
|
||||
pkgname = wattage
|
||||
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Ignore everything
|
||||
/*
|
||||
|
||||
# But not these files...
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!.SRCINFO
|
||||
!.nvchecker.toml
|
||||
!LICENSE
|
||||
3
.nvchecker.toml
Normal file
3
.nvchecker.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[wattage]
|
||||
source = "git"
|
||||
git = "https://github.com/v81d/wattage.git"
|
||||
12
LICENSE
Normal file
12
LICENSE
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Copyright Arch Linux Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for
|
||||
any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
|
||||
pkgname=wattage
|
||||
pkgver=1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="An application designed for monitoring the health and status of your power devices."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/v81d/wattage"
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=(
|
||||
'gtk4'
|
||||
'libadwaita'
|
||||
'libgee'
|
||||
)
|
||||
makedepends=(
|
||||
'meson'
|
||||
'vala'
|
||||
)
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
|
||||
sha256sums=('d33382090787a125378dd53978d1f0c24596ea8d4223dd6c0479c78eaad83f6f')
|
||||
|
||||
build() {
|
||||
arch-meson "$pkgname-$pkgver" build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build --no-rebuild --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
meson install -C build --no-rebuild --destdir "$pkgdir"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue