1 # Contributor: Lobashev Vadim < admin at mind-x.org>
5 pkgdesc="Lightweight X11 desktop panel. Fork by geekless from LOR."
7 url="http://code.google.com/p/lxpanelx/"
9 depends=('alsa-lib' 'gtk2>=2.12.0' 'lxmenu-data' \
10 'menu-cache' 'startup-notification')
11 makedepends=('autoconf' 'automake' 'gcc' 'intltool' 'libtool' \
12 'make' 'pkgconfig' 'python' 'git')
18 md5sums=('1daebaab014dca5e056f3bf3fceac19c')
20 _svntrunk="http://lxpanelx.googlecode.com/svn/trunk/"
27 if [ -d $_svnmod/.svn ]; then
28 (cd $_svnmod && svn up -r $pkgver)
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
32 msg "SVN checkout done or server timeout"
34 msg "Creating temporary build directory..."
35 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build || return 1
36 cd "${_svnmod}-build" || return 1
38 msg "Starting make..."
41 cd $srcdir/$_svnmod-build
43 # Disable the building of man
44 sed -i -e 's:po man:po:' Makefile.am || return 1
45 sed -i -e 's:man/Makefile::' configure.ac || return 1
47 msg "Applying patch for a fixed icon size"
48 cd ${srcdir}/$_svnmod-build
49 patch -Np1 -i ${srcdir}/icon.patch || return 1
51 # Generating building system
52 ./autogen.sh || return 1
54 ./configure --prefix=/usr \
56 --localstatedir=/var \
60 make DESTDIR=${pkgdir} install || return 1
62 msg "Removing build directory..."
64 rm -Rf ${_svnmod}-build