# Contributor: Gaber Ayoubi # Maintainer: Sören Tempel pkgname=dwm pkgver=6.4 pkgrel=1 pkgdesc="dwm - dynamic window manager" url="https://dwm.suckless.org" arch="all" license="MIT" depends="dmenu-virtual st-virtual" makedepends="libxft-dev libx11-dev libxinerama-dev" subpackages="$pkgname-doc" options="!check" # no test suite source="https://dl.suckless.org/dwm/dwm-$pkgver.tar.gz dwm.desktop " provides="dwm-virtual" provider_priority=100 prepare() { default_prepare sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ -e '/LDFLAGS/{s/=/+=/}' \ "$builddir"/config.mk } build() { make X11INC=/usr/include/X11 \ X11LIB=/usr/lib/X11 \ FREETYPEINC=/usr/include/freetype2 } package() { make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 "$srcdir"/dwm.desktop \ -t "$pkgdir"/usr/share/xsessions/ } sha512sums=" b13ac4390c7945cfb4e06bbec2cf69a9bf55867fe2babcba1a4945803a12bea88db31ad06dd06627445f8456950deb26f2d631f946c4207ae92e13f273051a51 dwm-6.4.tar.gz e8d200e40242531b33fc521501318f0c01fec2cd6029abbcf28cdd775909079bdc51e589d599e66729f36357d4b355db0e03160708d0756cf9e7f3f8b60b1d80 dwm.desktop "