blob: 2159eb09041d62036ff48d56cf7fdafb4b6a28a5 (
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
|
# Maintainer: Ben Mezger <me at benmezger dot nl>
_pkgname=gitmux
pkgname=$_pkgname-git
pkgver=r72.b821624
pkgrel=1
pkgdesc="Git in your tmux status bar"
arch=('x86_64' 'i686' 'aarch64')
Url="https://github.com/arl/gitmux"
license=('MIT')
makedepends=('git' 'go' 'tmux')
source=('git+https://github.com/arl/gitmux.git')
md5sums=('SKIP')
provides=('gitmux-git')
conflicts=('gitmux')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_pkgname}"
go build
install -D -m755 "${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
}
|