summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2ea80294576d25e3f47da168e28b499688514157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Dawid Weglarz <dawid.weglarz95@gmail.com>

pkgname=bat-asus-battery-bin
pkgver=1.1
pkgrel=1
pkgdesc="Replicate the functionality of the ASUS Battery Health Charging on Windows which aims prolong the battery's life-span"
arch=("x86_64")
url="https://github.com/tshakalekholoane/bat"
license=('MIT')
provides=('bat-asus-battery')
source=(${pkgname/-bin/}::"https://github.com/tshakalekholoane/bat/releases/download/${pkgver}/bat"
    "${pkgname/-bin/}.1"::"https://raw.githubusercontent.com/tshakalekholoane/bat/${pkgver}/bat.1"
    )
sha256sums=('0f6292d619cc485025b004d6ee3e1cb259b7917d074bdaaa4362deb8192d438d'
    'SKIP'
    )

package() {
    install -Dm755 "${srcdir}/bat-asus-battery" -t "${pkgdir}/usr/bin"
    install -Dm644 "${srcdir}/bat-asus-battery.1" -t "${pkgdir}/usr/share/man/man1/"
}