Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
[xfce4-indicator-plugin] Fix for the new autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao-Long Chen committed Jan 11, 2013
1 parent 2842a7b commit 5c2bbdb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
12 changes: 12 additions & 0 deletions xfce4-indicator-plugin/0001_autoconf.patch
@@ -0,0 +1,12 @@
diff -Nru xfce4-indicator-plugin-0.5.0.orig/configure.in xfce4-indicator-plugin-0.5.0/configure.in
--- xfce4-indicator-plugin-0.5.0.orig/configure.in 2013-01-11 16:02:40.605934000 -0500
+++ xfce4-indicator-plugin-0.5.0/configure.in 2013-01-11 16:02:53.125828000 -0500
@@ -33,7 +33,7 @@
dnl *** Initialize automake ***
dnl ***************************
AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar])
-AM_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE()

dnl ********************************
8 changes: 6 additions & 2 deletions xfce4-indicator-plugin/PKGBUILD
Expand Up @@ -15,12 +15,16 @@ makedepends=('intltool' 'xfce4-dev-tools')
groups=('unity')
options=('!libtool')
install=${pkgname}.install
source=("http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
sha512sums=('807aa9f86d41753c01f96831bdd4c42823275314c15f8e0472330edd62a47a416619a98d7624687586d42d8ea290811c58d7f826edc51c884c2a60dbbd1b72c4')
source=("http://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
'0001_autoconf.patch')
sha512sums=('807aa9f86d41753c01f96831bdd4c42823275314c15f8e0472330edd62a47a416619a98d7624687586d42d8ea290811c58d7f826edc51c884c2a60dbbd1b72c4'
'94460ff07b48f0512e4180e80ff6ac1eee07dec40494a2dff99abe73e7de18f23f222dfdcc9520ee8f6f0c8007b3727edff7848eb6baca5bd562c107f7900558')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"

patch -p1 -i "${srcdir}/0001_autoconf.patch"

/usr/bin/xdt-autogen
./configure \
--prefix=/usr \
Expand Down

0 comments on commit 5c2bbdb

Please sign in to comment.