summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f84534ad12e8ef491ae7c234526a73b9a84f80f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Kyle Keen <keenerd@gmail.com>
pkgname=lunchbox
pkgver=0.3.3
_fullver=0.3-3  # bleh dashes in version
_tarver=0.3  # why!
pkgrel=1
pkgdesc="An innovative (and beta) hybrid floating/tiling WM."
arch=('i686' 'x86_64')
url="http://code.google.com/p/lunchbox/"
license=('GPL3')
depends=('cairo' 'libxcursor')
source=("http://$pkgname.googlecode.com/files/${pkgname}_${_fullver}.tar.gz")
md5sums=('accb26993329f919560f0dee19224653')

build() {
  cd "$srcdir/${pkgname}-${_tarver}"
  install -d "$pkgdir/usr/bin"  # makefile bug
  rm themes/.lunchbox  # symlink to author's home
  sed -i 's|/local/lunchbox|/share/lunchbox|' theme.c  # source does not care about datadir
  make datadir=/usr/share
}

package() {
  cd "$srcdir/${pkgname}-${_tarver}"
  make DESTDIR="$pkgdir" datadir=/usr/share install
}