blob: eee0dd3a8caf202fc781c3712b41c7c257c94eef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: seabassapologist <teamseabass@protonmail.com>
pkgname=gobbl
pkgver=0.2.0
pkgrel=1
pkgdesc="A simple Go utility to get and display connected bluetooth device battery levels via the Bluez D-Bus interface"
arch=(x86_64)
url="https://github.com/seabassapologist/gobbl"
license=('BSD')
makedepends=('go>=1.17')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('296baab44b11647200c9245520970c0bbe685d4d38da683e7adaa71fc6111c71')
build() {
cd "$pkgname-$pkgver"
go build -v -o gobbl .
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}
}
|