5 pkgdesc="A dynamic window manager for X"
6 url="http://dwm.suckless.org"
10 depends=('libx11' 'libxinerama' 'libxft')
17 "$_pkgname::git+http://git.suckless.org/dwm")
18 md5sums=('939f403a71b6e85261d09fc3412269ee'
23 git describe --tags |sed 's/-/./g'
28 if [[ -f "$SRCDEST/$pkgname/config.h" ]]; then
29 cp -f "$SRCDEST/$pkgname/config.h" config.h
35 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
40 make PREFIX=/usr DESTDIR="$pkgdir" install
41 install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42 install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
43 install -m644 -D ../dwm.desktop "$pkgdir/usr/share/xsessions/dwm.desktop"
46 # vim:set ts=2 sw=2 et: