# $Id: PKGBUILD 93770 2013-07-10 07:14:37Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Angel Velasquez # Contributor: Juergen Hoetzel pkgname=lxpanel pkgver=0.5.12 pkgrel=2 pkgdesc='Lightweight X11 desktop panel for LXDE' arch=('i686' 'x86_64' 'mips64el') license=('GPL2') url='http://lxde.org/' groups=('lxde') depends=('gtk2' 'alsa-lib' 'menu-cache' 'lxmenu-data' 'libwnck') makedepends=('docbook-xml' 'docbook-xsl' 'wireless_tools') optdepends=('wireless_tools: netstat plugin') source=(ftp://ftp.archlinux.org/other/community/$pkgname/$pkgname-$pkgver.tar.xz lxpanel-0.5.12-automake-1.14-support.patch) sha256sums=('c29997c522f138e4beb02fc549c84136fc840a836c1f69b400d90d2d4e91de1b' 'ce5bf608374188da00ce3f0a1c74d1ddebd160555db4119eebd85f64731fe1d1') prepare() { cd $pkgname-$pkgver patch -Np0 -i ../lxpanel-0.5.12-automake-1.14-support.patch ./autogen.sh } build() { cd $pkgname-$pkgver CFLAGS+=' -lgmodule-2.0' ./configure \ --sysconfdir=/etc \ --prefix=/usr \ --enable-man make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }