blob: ccbcd969a11d098f6ff8f2945cd2976c7821bd20 (
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: Devin J. Pohly <djpohly+arch@gmail.com>
pkgname=dwl
pkgver=0.7
pkgrel=1
pkgdesc="Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland)"
arch=('x86_64')
url="https://codeberg.org/dwl/dwl"
license=('GPL')
depends=('wlroots>=0.16')
makedepends=('wayland-protocols')
optdepends=('xorg-xwayland: for XWayland support')
source=("https://codeberg.org/dwl/dwl/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz"
config.h)
sha256sums=('16e1412385f5fecaea997f734cb290f2bc412929da5b523c7c5180c6bd9402ea'
SKIP)
prepare() {
cd "$srcdir/$pkgname-v$pkgver"
# Use a custom config.h if the file is not empty
if [ -s "$srcdir/config.h" ]; then
cp -f "$srcdir/config.h" config.h
fi
# Uncomment to compile with XWayland support
#sed -i -e '/-DXWAYLAND\|xcb/s/^#//' config.mk
}
build() {
cd "$srcdir/$pkgname-v$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-v$pkgver"
make PREFIX="$pkgdir/usr/" install
}
|