# Maintainer: Justin Gassner _pkgname=dwm pkgname=$_pkgname-jxir pkgver=6.1.40.g7eb87fe pkgrel=1 pkgdesc='A dynamic window manager for X' arch=('x86_64') url="https://$_pkgname.suckless.org" license=('MIT') depends=('dmenu' 'freetype2' 'libx11' 'libxft' 'libxinerama' 'st') makedepends=('git') provides=("$_pkgname") conflicts=("$_pkgname") source=("git+https://git.jxir.de/$_pkgname") sha256sums=('SKIP') pkgver(){ cd "$_pkgname" git describe --tags | sed 's/-/./g' } prepare() { cd "$_pkgname" for branch in noborder pertag fancybar config; do git merge --no-edit origin/$branch done mv config.def.h config.h } build() { cd "$_pkgname" make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2 } package() { cd "$_pkgname" make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README" }