summaryrefslogtreecommitdiff
path: root/2bwm/resc/2bwm/PKGBUILD
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-12-15 15:43:12 +0100
committerJulian T <julian@jtle.dk>2022-12-15 15:43:12 +0100
commit0c45f03b0b9f348a6eb0460bf8215929a69bf35c (patch)
tree9c23b69c16ac07f046bd65c004f0f28eda77431a /2bwm/resc/2bwm/PKGBUILD
parent5c7acf49d86fce40bc7380127542e9392b9c8d36 (diff)
2bwm config and some bspwm changes
Diffstat (limited to '2bwm/resc/2bwm/PKGBUILD')
-rw-r--r--2bwm/resc/2bwm/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/2bwm/resc/2bwm/PKGBUILD b/2bwm/resc/2bwm/PKGBUILD
new file mode 100644
index 0000000..5d2376b
--- /dev/null
+++ b/2bwm/resc/2bwm/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+pkgname='2bwm'
+pkgver=0.3
+pkgrel=1
+pkgdesc="A fast floating window manager"
+arch=('i686' 'x86_64')
+url="https://github.com/venam/2bwm"
+license=('ISC')
+depends=('xcb-util-wm' 'xcb-util-keysyms' 'xcb-util-xrm')
+conflicts=('2bwm-git' 'mcwm' 'mcwm-git') # due to /usr/bin/hidden program
+makedepends=('git' 'xcb-util')
+source=("$pkgname::git+https://github.com/bbidulock/2bwm.git#tag=v${pkgver}" '2bwm.desktop' '2bwm.copying' 'config.h')
+md5sums=('SKIP'
+ '4342d9210effbe4bfb58722f4275aa5c'
+ 'adaee5c7e455ba15e0ca9a2692464253'
+ 'SKIP')
+
+prepare() {
+ cp $srcdir/config.h $pkgname/config.h -v
+}
+
+build() {
+ cd $pkgname
+ make PREFIX=/usr
+}
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" PREFIX=/usr MANPREFIX=/usr/share/man install
+ install -Dm644 "$srcdir/2bwm.desktop" "$pkgdir/usr/share/xsessions/2bwm.desktop"
+ install -Dm644 "$srcdir/2bwm.copying" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}