1 # Contributor: CainĂ£ Costa <sryche@archlinux-br.org>
2 # Ex-contributor: Buharev Vasilij <buharev.v.p@gmail.com>
7 pkgdesc="BMPanel is a lightweight panel with taskbar, tray, desktop switcher and clock. It is themeable reincarnation of fspanel."
9 url="http://nsf.110mb.com/bmpanel/"
11 depends=('imlib2' 'fontconfig' 'libxrender' 'libxcomposite')
12 makedepends=('git' 'gcc' 'make')
13 source=("http://nsf.110mb.com/bmpanel/arch.tar.gz")
16 md5sums=('f30e56ac1a7cbcf34463d7e38118910b')
18 _gitroot="git://github.com/nsf/bmpanel.git"
23 msg "Connecting to GIT server...."
25 if [ -d $startdir/src/$_gitname ] ; then
26 cd $_gitname && git-pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
37 [ -d $_gitname-build ] && rm -rf $_gitname-build
38 cp -rf $_gitname $_gitname-build
41 ./configure --prefix=/usr --optimize --with-composite || return 1
43 make DESTDIR=${startdir}/pkg install || return 1
45 mv ../arch ${startdir}/pkg/usr/share/bmpanel/themes/
46 install -D -m644 COPYING ${startdir}/pkg/usr/share/licenses/$pkgname/COPYING