updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / lunchbox / PKGBUILD
blobce23edb2b4033bdfe67686a86394b066328327ee
1 # Contributor: Kyle Keen <keenerd@gmail.com>
2 pkgname=lunchbox
3 pkgver=0.3.3
4 _fullver=0.3-3  # bleh dashes in version
5 _tarver=0.3  # why!
6 pkgrel=1
7 pkgdesc="An innovative (and beta) hybrid floating/tiling WM."
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/lunchbox/"
10 license=('GPLv3')
11 depends=('cairo' 'libxcursor')
12 makedepends=()
13 optdepends=()
14 source=(http://$pkgname.googlecode.com/files/${pkgname}_${_fullver}.tar.gz)
15 md5sums=('accb26993329f919560f0dee19224653')
17 build() {
18   cd "$srcdir"/${pkgname}-${_tarver}
19   install -d "$pkgdir"/usr/bin  # makefile bug
20   rm themes/.lunchbox  # symlink to author's home
21   sed -i 's|/local/lunchbox|/share/lunchbox|' theme.c  # source does not care about datadir
22   make datadir=/usr/share
23   make DESTDIR="$pkgdir" datadir=/usr/share install