summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 669f31925aed3064ec1c0e96b0081f70063922ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Chris Down <chris@chrisdown.name>

pkgname=bats-battery
_pkgname=bats
pkgver=1.2.0
pkgrel=1
pkgdesc='Battery status in the console'
url="http://github.com/cdown/$_pkgname"
arch=('any')
license=('Public Domain')
depends=()

source=("https://github.com/cdown/${_pkgname}/archive/${pkgver}.zip")
md5sums=('90e0cf682045908caa6357c01ea2405b')

package() {
    install -D -m755 \
        "${srcdir?}/$_pkgname-$pkgver/bats" \
        "${pkgdir?}/usr/bin/bats"
}