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' 'subversion')
17 _svntrunk="http://lxpanelx.googlecode.com/svn/trunk/"
24 if [ -d $_svnmod/.svn ]; then
25 (cd $_svnmod && svn up -r $pkgver)
27 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
31 msg "Creating temporary build directory..."
32 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build || return 1
33 cd "${_svnmod}-build" || return 1
35 msg "Starting make..."
38 cd $srcdir/$_svnmod-build
40 # Disable the building of man
41 sed -i -e 's:po man:po:' Makefile.am || return 1
42 sed -i -e 's:man/Makefile::' configure.ac || return 1
44 msg "Applying patch for a fixed icon size"
45 cd ${srcdir}/$_svnmod-build
47 # Generating building system
48 ./autogen.sh || return 1
50 ./configure --prefix=/usr \
52 --localstatedir=/var \
56 make DESTDIR=${pkgdir} install || return 1
58 msg "Removing build directory..."
60 rm -Rf ${_svnmod}-build