blob: 0b65784f5f843ff4294ca7de0ea5583bd3e590c1 (
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
|
# Maintainer: Marco Wang <m.aesophor@gmail.com>
pkgname=wmderland-git
_pkgname=wmderland
pkgver=1.0.4
pkgrel=1
pkgdesc='X11 tiling window manager using space partitioning trees'
arch=('x86_64')
url="https://github.com/aesophor/wmderland"
license=('MIT')
depends=('libx11')
makedepends=('gcc>=6.0' 'cmake>=3.9')
install=${_pkgname}.install
source=('git://github.com/aesophor/wmderland.git')
sha256sums=('SKIP')
build() {
cd ${_pkgname}/
./build.sh
}
package() {
# Install wmderland.
cd ${_pkgname}/build/
make DESTDIR="${pkgdir}/" PREFIX="/usr/local/" install
# Install wmderlandc (ipc client).
cd ../ipc-client/build/
make DESTDIR="${pkgdir}/" PREFIX="/usr/local/" install
# Install example config file.
cd ../../
mkdir -p "${pkgdir}/etc/xdg/wmderland/"
install -D -m644 example/* "${pkgdir}/etc/xdg/wmderland/"
}
|