Package Details: dwl 0.4-2

Git Clone URL: https://aur.archlinux.org/dwl.git (read-only, click to copy)
Package Base: dwl
Description: Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland)
Upstream URL: https://github.com/djpohly/dwl
Licenses: GPL
Submitter: djpohly
Maintainer: djpohly
Last Packager: djpohly
Votes: 4
Popularity: 0.000229
First Submitted: 2020-12-25 08:31 (UTC)
Last Updated: 2023-04-16 21:51 (UTC)

Latest Comments

ldev commented on 2023-07-04 20:34 (UTC)

Modification to the PKGBUILD so it automatically applies patches that are in the dwl directory

optdepends=('xorg-xwayland: for XWayland support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/djpohly/$pkgname/archive/v$pkgver.tar.gz"
         config.h
         *.patch)
 sha256sums=('f03a260b169019ebdbfd6db1b19a3dc7861ba33609644581c530be019f22274c'
             'SKIP'
             'SKIP')

 prepare() {
    cd "$srcdir/$pkgname-$pkgver"

    # Apply patches
    patches="$srcdir/*.patch"
    for file in $patches ; do
       echo "Applying patch '$file'"
       patch -d $srcdir/$pkgname-$pkgver < $file
    done

ldev commented on 2023-07-04 20:09 (UTC) (edited on 2023-07-04 20:11 (UTC) by ldev)

Why is there a checksum for the config.h file? Isn't that file supposed to be edited.

source=("$pkgname-$pkgver.tar.gz::https://github.com/djpohly/$pkgname/archive/v$pkgver.tar.gz"
        config.h)
sha256sums=('f03a260b169019ebdbfd6db1b19a3dc7861ba33609644581c530be019f22274c'
            'SKIP') # change this to SKIP

djpohly commented on 2023-04-16 21:52 (UTC)

Fixed, thanks!

eatsaq commented on 2023-04-16 19:06 (UTC)

The PKGBUILD doesn't support XWayland correctly.

# Uncomment to compile with XWayland support
sed -i -e '/-DXWAYLAND/s/^#//' config.mk  # This line is present
sed -i -e '/^#XLIBS/s/^#//' config.mk     # Missing, add me

djpohly commented on 2021-03-10 15:35 (UTC)

Haha, I wrote the README... you'd think I would have noticed that. ;-) Thanks!