[arch-commits] Commit in xfconf/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun May 2 17:05:01 UTC 2010


    Date: Sunday, May 2, 2010 @ 13:05:00
  Author: andyrtr
Revision: 79290

upgpkg: xfconf 4.6.1-4
ship doc - fixes #18315; fix perl files installation path

Modified:
  xfconf/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-02 15:36:45 UTC (rev 79289)
+++ PKGBUILD	2010-05-02 17:05:00 UTC (rev 79290)
@@ -3,8 +3,8 @@
 
 pkgname=xfconf
 pkgver=4.6.1
-pkgrel=3
-pkgdesc="xfconf.. thingie"
+pkgrel=4
+pkgdesc="a simple client-server configuration storage and query system"
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.xfce.org/"
@@ -12,8 +12,8 @@
 # http://www.xfce.org/documentation/requirements
 # keep dbus and gtk2, see also http://bugs.archlinux.org/task/14536
 depends=( "libxfce4util>=4.6.1" "dbus-glib>=0.80" 'dbus>=1.2.16' 'gtk2>=2.18.5')
-makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig')
-options=('!libtool')
+makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'glib-perl')
+options=('!libtool' '!emptydirs')
 replaces=('libxfce4mcs' 'xfce-mcs-manager' 'xfce-mcs-plugins')
 conflicts=('libxfce4mcs' 'xfce-mcs-manager' 'xfce-mcs-plugins')
 source=(http://mocha.xfce.org/archive/xfce-${pkgver}/src/${pkgname}-${pkgver}.tar.bz2)
@@ -22,9 +22,13 @@
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
-    --localstatedir=/var --disable-static
+    --localstatedir=/var --disable-static --with-perl-options=INSTALLDIRS="vendor" 
   make || return 1
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
   make DESTDIR=${startdir}/pkg install || return 1
-  rm -rf ${startdir}/pkg/usr/share/gtk-doc
-  rm -f ${pkgdir}/usr/lib/perl5/core_perl/perllocal.pod
+  # remove unneeded dynloader bootstrap file
+  rm ${pkgdir}/usr/lib/perl5/vendor_perl/auto/Xfce4/Xfconf/Xfconf.bs 
 }




More information about the arch-commits mailing list