1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="A window manager for X in the spirit of dwm"
8 url="http://plhk.ru/echinus"
11 makedepends=('git' 'pkgconfig')
12 optdepends=('ourico: complementary taskbar for echinus')
14 conflicts=('echinus' 'echinus-hg')
15 install=echinus.install
16 source=(echinus.desktop)
17 md5sums=('3dbc8f89200dcb8b3e44144602172c49')
19 _gitroot=git://github.com/polachok/echinus.git
25 if [[ -d $_gitname ]]; then
26 cd $_gitname && git pull origin && cd ..
31 rm -rf $_gitname-build
32 git clone $_gitname $_gitname-build
35 make PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
36 make PREFIX=/usr DESTDIR="$pkgdir" CONF=/share/$_gitname/examples install
37 install -Dm644 ../$_gitname.desktop \
38 "$pkgdir/usr/share/xsessions/$_gitname.desktop"
39 install -Dm644 $_gitname.1 "$pkgdir/usr/share/man/man1/$_gitname.1"
40 install -Dm644 README "$pkgdir/usr/share/doc/$_gitname/README"
41 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"