summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ade15af3bd2afe3cc424829364b114baeb0d9e9 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: Buce <dmbuce@gmail.com>

pkgname=i3b
pkgver=0.1.r2.g35d5d55
pkgver() {
  cd "$srcdir/$pkgname"
  if ! git describe --tags 2>/dev/null; then
    echo "0.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
  fi | sed 's/-/.r/; s/-/./g'
}
pkgrel=1
pkgdesc="Window manager scripts and configs"
arch=(any)
url="https://github.com/DMBuce/i3b"
license=('GPL3')
groups=()
depends=(
  # i3move
  perl
  i3-wm
  xorg-xrandr
  xdotool

  # i3scratchmark
  bash
  jq

  # pickdate
  rofi
  awk

  # i3blocks-monit
  monit
)
makedepends=('git')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+https://github.com/DMBuce/${pkgname%-git}.git")
#source=("$pkgname::git+ssh://git@mantrid/~/${pkgname%-git}.git")
md5sums=('SKIP')

package() {
  cd "$srcdir/$pkgname"
  make prefix=/usr sysconfdir=/etc localstatedir=/var DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: