From 2e85ee969c4be5762301fc1447315f132aca1fc8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 11 Jul 2013 01:38:47 -0700 Subject: Thu Jul 11 01:37:50 PDT 2013 --- community/lxpanel/PKGBUILD | 22 ++++++++++++---------- .../lxpanel-0.5.12-automake-1.13-support.patch | 15 --------------- .../lxpanel-0.5.12-automake-1.14-support.patch | 15 +++++++++++++++ 3 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 community/lxpanel/lxpanel-0.5.12-automake-1.13-support.patch create mode 100644 community/lxpanel/lxpanel-0.5.12-automake-1.14-support.patch (limited to 'community/lxpanel') diff --git a/community/lxpanel/PKGBUILD b/community/lxpanel/PKGBUILD index 71eb369b8..d9e2cdaf5 100644 --- a/community/lxpanel/PKGBUILD +++ b/community/lxpanel/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 83070 2013-01-27 10:16:43Z bpiotrowski $ +# $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=1 +pkgrel=2 pkgdesc='Lightweight X11 desktop panel for LXDE' arch=('i686' 'x86_64') license=('GPL2') @@ -15,16 +15,18 @@ 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.13-support.patch) + lxpanel-0.5.12-automake-1.14-support.patch) sha256sums=('c29997c522f138e4beb02fc549c84136fc840a836c1f69b400d90d2d4e91de1b' - 'a35c786e3cd2977c5cf018e126c7f309b7fc4c15f9b821895e1f6fe25125f68f') + 'ce5bf608374188da00ce3f0a1c74d1ddebd160555db4119eebd85f64731fe1d1') -build() { - cd $srcdir/$pkgname-$pkgver - - patch -Np0 -i $srcdir/lxpanel-0.5.12-automake-1.13-support.patch +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 \ @@ -33,6 +35,6 @@ build() { } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } diff --git a/community/lxpanel/lxpanel-0.5.12-automake-1.13-support.patch b/community/lxpanel/lxpanel-0.5.12-automake-1.13-support.patch deleted file mode 100644 index 25916bbf6..000000000 --- a/community/lxpanel/lxpanel-0.5.12-automake-1.13-support.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- 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.13" ];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 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 -- cgit v1.2.3-54-g00ecf