blob: 06ac16846786a83cab816fc307c1db179caffeb3 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Bastien Dejean <nihilhill@gmail.com>
_pkgname=bspwm
pkgname=${_pkgname}-git
pkgver=0.9.10.r33.ge22d0fa
pkgrel=1
pkgdesc='A tiling window manager based on binary space partitioning'
arch=('i686' 'x86_64')
url="https://github.com/baskerville/${_pkgname}"
license=('custom:BSD')
depends=('bash' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms')
makedepends=('git')
optdepends=('sxhkd-git: to define keyboard and pointer bindings'
'bar-aint-recursive: for the example panel'
'xtitle-git: for the example panel'
'sutils-git: for the example panel'
'terminus-font: for the example panel'
'python3: for some scripting examples')
source=("$pkgname::git+https://github.com/baskerville/${_pkgname}.git")
md5sums=('SKIP')
provides=("${_pkgname}=${pkgver%%.r*}-${pkgrel}")
conflicts=("${_pkgname}")
#pkgver() {
# cd "$srcdir/$_pkgname"
# git rev-list --count HEAD
#}
pkgver() {
cd $pkgname
git describe --long --tags | sed -r 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}
build() {
cd $pkgname
make PREFIX=/usr
}
package() {
cd $pkgname
make PREFIX=/usr DESTDIR="$pkgdir" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|