blob: 1f80b7b484aa99769533aec14f69dbbc64094baf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Justin Dickey <justin.dickey.eg@gmail.com>
pkgname=goplaying-git
pkgver=r21.7c37bd9
pkgrel=1
pkgdesc="A basic Now Playing TUI written in Go"
arch=('x86_64')
url="https://github.com/justinmdickey/goplaying"
license=('MIT')
depends=('playerctl')
makedepends=('go' 'git')
provides=('goplaying')
conflicts=('goplaying')
source=("git+https://github.com/justinmdickey/goplaying.git")
md5sums=('SKIP')
pkgver() {
cd goplaying
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd goplaying
go build -v -o goplaying .
}
install_license() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
package() {
cd goplaying
install -Dm755 goplaying "$pkgdir/usr/bin/goplaying"
install_license
}
|