summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 356238c4ab23ee0c04fd8b15989d328ab22dba63 (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
# Maintainer: hu3rror<hu3rror@protonmail.com>

pkgname=bspwm-gnome-git
pkgver=r110.1665f4f
pkgrel=2
pkgdesc="Use bspwm with GNOME Session integration."
arch=('any')
url="https://github.com/hu3rror/bspwm-gnome"
license=('MIT')
depends=(
	'bspwm'
	'gnome-session'
	'gnome-settings-daemon'
)
optdepends=(
	'gdm'
	'gnome-flashback'
)
source=($pkgname::git+https://github.com/hu3rror/bspwm-gnome.git)
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"

  make
}

package() {
  cd "$srcdir/$pkgname"

  make DESTDIR="$pkgdir" install
}