summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2da40df3cd0c07990d29154b3f6d9ad20b8778da (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.3.2.r22.gcdfabe2
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" "xproto")
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
}