summaryrefslogtreecommitdiff
path: root/community/lxpanel
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lxpanel
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lxpanel')
-rw-r--r--community/lxpanel/PKGBUILD40
-rw-r--r--community/lxpanel/lxpanel-0.5.12-automake-1.14-support.patch15
2 files changed, 55 insertions, 0 deletions
diff --git a/community/lxpanel/PKGBUILD b/community/lxpanel/PKGBUILD
new file mode 100644
index 000000000..d9e2cdaf5
--- /dev/null
+++ b/community/lxpanel/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 93770 2013-07-10 07:14:37Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Juergen Hoetzel <juergen@archlinux.org>
+
+pkgname=lxpanel
+pkgver=0.5.12
+pkgrel=2
+pkgdesc='Lightweight X11 desktop panel for LXDE'
+arch=('i686' 'x86_64')
+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
+}
diff --git a/community/lxpanel/lxpanel-0.5.12-automake-1.14-support.patch b/community/lxpanel/lxpanel-0.5.12-automake-1.14-support.patch
new file mode 100644
index 000000000..3b40931de
--- /dev/null
+++ b/community/lxpanel/lxpanel-0.5.12-automake-1.14-support.patch
@@ -0,0 +1,15 @@
+--- autogen.sh.orig 2013-01-27 10:38:55.000000000 +0100
++++ autogen.sh 2013-01-27 10:59:56.897030226 +0100
+@@ -6,9 +6,10 @@
+
+ if [ "$AM_INSTALLED_VERSION" != "1.10" \
+ -a "$AM_INSTALLED_VERSION" != "1.11" \
+- -a "$AM_INSTALLED_VERSION" != "1.12" ];then
++ -a "$AM_INSTALLED_VERSION" != "1.12" \
++ -a "$AM_INSTALLED_VERSION" != "1.14" ];then
+ echo
+- echo "You must have automake 1.10, 1.11, or 1.12 installed to compile lxpanel."
++ echo "You must have automake >=1.10 installed to compile lxpanel."
+ echo "Install the appropriate package for your distribution,"
+ echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
+ exit 1