summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dfe6de0764737708b9f212b09e44ec3c21144133 (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
# Maintainer: Tudor Roman <tudurom@gmail.com>

pkgname=windowchef-git
pkgver=0.5.1.r2.gd2284c1
pkgrel=1
pkgdesc="A stacking window manager that cooks windows with orders from the Waitron."
arch=("i686" "x86_64" "armv7h" "aarch64")
url="https://github.com/tudurom/windowchef"
license=('ISC')
depends=("libxcb" "xcb-util-wm")
makedepends=("git" "xorgproto")
optdepends=("sxhkd" "wmutils-git" "lemonbar")
conflicts=('windowchef')
source=("$pkgname::git+https://github.com/tudurom/windowchef.git")
md5sums=("SKIP")

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags | sed -r 's/^v//g;s/([^-]*-g)/r\1/;s/-/./g'
}

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

package() {
	cd "$srcdir/$pkgname"
	make PREFIX="/usr" DESTDIR="$pkgdir/" install
}