blob: e72e83879f4f9ee4e1a9200a60b460bbced1a4e4 (
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
|
# Contributor: dai9ah <dai9ah@protonmail.com>
# Maintainer: dai9ah <dai9ah@protonmail.com>
pkgname=2bwm
pkgver=0.2
pkgrel=0
pkgdesc="Fast floating window manager"
url="https://github.com/venam/2bwm"
arch="all"
license="ISC"
makedepends="libxcb-dev xcb-util-keysyms-dev xcb-util-wm-dev xcb-util-xrm-dev"
options="!check" # no test suite or working check function
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/venam/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
sed -i "$builddir"/Makefile \
-e '/CFLAGS/{s/+=-Os/ +=/}'
}
build() {
make -C "$builddir"
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install
}
sha512sums="e2a9c6bd41818b79bcf5b1e9fa789d829921c1cee9351783f8b3a20a7efc4641fb8a6bd04485c97895a8161737d02efe55014781d29e89b9e84fcf1e0aef2c2e 2bwm-0.2.tar.gz"
|