From 6a81d13297316b21dd3fa49b6a72cc37435b1392 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 8 Dec 2018 12:52:25 -0500 Subject: [PATCH] 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 --- .../bspwm-round-corners-git/PKGBUILD | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .archlinux/PKGBUILDs/bspwm-round-corners-git/PKGBUILD diff --git a/.archlinux/PKGBUILDs/bspwm-round-corners-git/PKGBUILD b/.archlinux/PKGBUILDs/bspwm-round-corners-git/PKGBUILD new file mode 100644 index 0000000..2b3ad1b --- /dev/null +++ b/.archlinux/PKGBUILDs/bspwm-round-corners-git/PKGBUILD @@ -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" +}