1 # Maintainer: nem <nem at ikitten dot co dot uk>
2 # Contributor: Lukas Fleischer <archlinux at cryptocrack dot de>
3 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
8 pkgdesc='musca wm - with a patchset fixing a few common bugs'
10 url='http://aerosuidae.net/musca/'
12 depends=('libx11' 'dmenu')
13 conflicts=('musca-fixed')
14 source=("http://aerosuidae.net/${pkgname}-${pkgver}.tgz"
15 "0001-fix-dmenu.patch"
16 "0002-fix-cycle.patch"
18 md5sums=('e067a8e39b1a97d62fc8e43800edee70'
19 '8a5d2261adb54199cf396e02757eb7e0'
20 'd1b8a94eace113e073baced4ff58a438'
21 '050f632a426ce8f401a12f37c69b0b07')
24 warning "The fix for dmenu changes the configuration of it!"
25 warning "old original config was: 'set dmenu dmenu <parameters>'"
26 warning "new patched config: 'set dmenu <parameters>'"
27 warning "In words: just pass the dmenu parameters!"
28 warning "So be sure to change your .musca_start or custom config.h accordingly!"
29 cd "${srcdir}/${pkgname}-${pkgver}"
30 echo Apply dmenu-patch
31 patch -p1 < "${srcdir}/0001-fix-dmenu.patch"
32 echo Apply cycle-patch
33 patch -p1 < "${srcdir}/0002-fix-cycle.patch"
35 patch -p1 < "${srcdir}/0003-fix-pad.patch"
40 cd "${srcdir}/${pkgname}-${pkgver}"
42 install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
43 install -Dm644 "${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1"