diff options
author | Devin J. Pohly | 2021-05-27 09:13:24 -0500 |
---|---|---|
committer | Devin J. Pohly | 2021-05-27 09:13:24 -0500 |
commit | 17ac73abc67fe92c6d31706dc0068b9ea415b8e7 (patch) | |
tree | 7766534426f155cfe9cf3630e31b10f8cb7ec0a8 | |
parent | 59c8657051f427a4e5e91d0f99f77cd75129b3f3 (diff) | |
download | aur-17ac73abc67fe92c6d31706dc0068b9ea415b8e7.tar.gz |
add XWayland optdepend, don't sum config.h
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -1,16 +1,17 @@ pkgbase = dwl pkgdesc = Simple, hackable dynamic tiling Wayland compositor (dwm for Wayland) pkgver = 0.2.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/djpohly/dwl arch = x86_64 license = GPL makedepends = wayland-protocols depends = wlroots>=0.13 + optdepends = xorg-xwayland: for XWayland support source = https://github.com/djpohly/dwl/archive/v0.2.1.tar.gz source = config.h sha256sums = 4c65ba86608adc0d37414ebfaf814957d3349518e44f3cc6f50f5f3bd827c150 - sha256sums = 0bf53ab668252bf63b25e1b3ea76ace85c0dd3cd49e16168e85a3b49f4a3c708 + sha256sums = SKIP pkgname = dwl @@ -1,21 +1,24 @@ # Maintainer: Devin J. Pohly <djpohly+arch@gmail.com> pkgname=dwl pkgver=0.2.1 -pkgrel=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' - '0bf53ab668252bf63b25e1b3ea76ace85c0dd3cd49e16168e85a3b49f4a3c708') + '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() { |