updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / musca-fixed / PKGBUILD
blob8849939a5e3334419fea4d5defe7dedc4fbae620
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>
5 pkgname=musca-fixed
6 _binaryname=musca
7 pkgver=0.9.24
8 pkgrel=1
9 pkgdesc='musca wm - with a patchset fixing a few common bugs'
10 arch=('i686' 'x86_64')
11 url='http://aerosuidae.net/musca/'
12 license=('GPL3')
13 depends=('libx11' 'dmenu')
14 conflicts=('musca')
15 source=("http://aerosuidae.net/${_binaryname}-${pkgver}.tgz"
16         "0001-fix-dmenu.patch"
17         "0002-fix-cycle.patch"
18         "0003-fix-pad.patch")
19 md5sums=('e067a8e39b1a97d62fc8e43800edee70' 
20         '8a5d2261adb54199cf396e02757eb7e0'
21         'd1b8a94eace113e073baced4ff58a438'
22         '61923ebde4b2c9bdd5677e46a492bd6a')
25 build() {
26   cd "${srcdir}/${_binaryname}-${pkgver}"
27   echo Apply dmenu-patch
28   patch -p1 < "${srcdir}/0001-fix-dmenu.patch"
29   echo Apply cycle-patch
30   patch -p1 < "${srcdir}/0002-fix-cycle.patch"
31   echo Apply pad-patch
32   patch -p1 < "${srcdir}/0003-fix-pad.patch"
33   make || return 1
36 package() {
37   cd "${srcdir}/${_binaryname}-${pkgver}"
39   install -Dm755 "${_binaryname}" "${pkgdir}/usr/bin/${_binaryname}"
40   install -Dm644 "${_binaryname}.1" "${pkgdir}/usr/share/man/man1/${_binaryname}.1"