1
0
forked from extern/nix-config

meta: Add bspwm-round-corners-git PKGBUILD

This is the PKGBUILD I made for a [nice patch][1] that adds border
radius support to bspwm. The patch has not been merged upstream yet,
so this PKGBUILD will have to do in the meantime.

[1]: https://github.com/baskerville/bspwm/pull/856
This commit is contained in:
Donovan Glover 2018-12-08 12:52:25 -05:00
parent 9ff3bfa22f
commit 6a81d13297
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -0,0 +1,30 @@
pkgname=bspwm-round-corners-git
pkgver=0.9.5.r19.7b0cf3d
pkgrel=1
pkgdesc="X11 window manager with border_radius support"
arch=('x86_64')
url="https://github.com/Javyre/bspwm"
provides=('bspwm')
conflicts=('bspwm')
license=('custom:BSD')
depends=('xcb-util' 'xcb-util-wm' 'xcb-util-keysyms')
makedepends=('git')
optdepends=('sxhkd: to define keyboard and pointer bindings'
'xdo: for the example panel')
source=("$pkgname::git+https://github.com/Javyre/bspwm#branch=round_corners")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
make -C "$pkgname" PREFIX=/usr
}
package() {
cd "$pkgname"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/bspwm/LICENSE"
}