# Maintainer: Devin J. Pohly pkgname=dwl pkgver=0.2.1 pkgrel=2 pkgdesc="Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland)" arch=('x86_64') url="https://github.com/djpohly/dwl" license=('GPL') depends=('wlroots>=0.13') makedepends=('wayland-protocols') optdepends=('xorg-xwayland: for XWayland support') source=("https://github.com/djpohly/$pkgname/archive/v$pkgver.tar.gz" config.h) sha256sums=('4c65ba86608adc0d37414ebfaf814957d3349518e44f3cc6f50f5f3bd827c150' 'SKIP') prepare() { cd "$srcdir/$pkgname-$pkgver" cp "$srcdir/config.h" config.h # Uncomment to compile with XWayland support #sed -i -e '/-DXWAYLAND/s/^#//' config.mk } build() { cd "$srcdir/$pkgname-$pkgver" make } package() { cd "$srcdir/$pkgname-$pkgver" make PREFIX="$pkgdir/usr/" install }