[arch-commits] Commit in rrdtool/trunk (ChangeLog PKGBUILD rrdtool.install)

Eric Bélanger eric at archlinux.org
Sun Jan 4 22:35:47 UTC 2009


    Date: Sunday, January 4, 2009 @ 17:35:47
  Author: eric
Revision: 23176

upgpkg: rrdtool 1.3.5-1
    Upstream update, Replaced install scriptlet by optdepends, Added libxml2 and pango depends, Libtool slayed, Added ChangeLog

Added:
  rrdtool/trunk/ChangeLog
Modified:
  rrdtool/trunk/PKGBUILD
Deleted:
  rrdtool/trunk/rrdtool.install

-----------------+
 ChangeLog       |    8 ++++++++
 PKGBUILD        |   34 ++++++++++++++++++----------------
 rrdtool.install |   17 -----------------
 3 files changed, 26 insertions(+), 33 deletions(-)

Added: ChangeLog
===================================================================
--- ChangeLog	                        (rev 0)
+++ ChangeLog	2009-01-04 22:35:47 UTC (rev 23176)
@@ -0,0 +1,8 @@
+2009-01-02  Eric Belanger  <eric at archlinux.org>
+
+	* rrdtool 1.3.5-1
+	* Upstream update
+	* Replaced install scriptlet by optdepends
+	* Added libxml2 and pango depends
+	* Libtool slayed
+	* Added ChangeLog

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-01-04 22:31:48 UTC (rev 23175)
+++ PKGBUILD	2009-01-04 22:35:47 UTC (rev 23176)
@@ -1,27 +1,29 @@
 # $Id$
-# Maintainer: Tom K <tom at archlinux.org>
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: Tom K <tom at archlinux.org>
 
 pkgname=rrdtool
-pkgver=1.2.27
-pkgrel=2
+pkgver=1.3.5
+pkgrel=1
 pkgdesc="Data logging and graphing application"
-arch=(i686 x86_64)
-license="GPL"
-depends=('libart-lgpl' 'libpng' 'freetype2')
-makedepends=('ruby' 'python')
-source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-$pkgver.tar.gz)
+arch=('i686' 'x86_64')
 url="http://www.rrdtool.org"
-install=rrdtool.install
-options=(!emptydirs)
+license=('GPL')
+depends=('libart-lgpl' 'libpng' 'freetype2' 'libxml2' 'pango')
+makedepends=('ruby' 'python' 'tcl')
+optdepends=('tcl, python and/or ruby: to use corresponding binding')
+options=('!libtool' '!emptydirs')
+source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
+md5sums=('3f14381e64c2037f40af16380be9e9f3')
+sha1sums=('0d123c054bdf30bfe5fa28c028ff3e8437f3777b')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --enable-perl-site-install \
-      --with-perl-options='INSTALLDIRS=vendor' --enable-ruby-site-install
+    --with-perl-options='INSTALLDIRS=vendor' --enable-ruby-site-install || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=${pkgdir} install || return 1
 
-  find $startdir/pkg -name '.packlist' -delete
-  find $startdir/pkg -name 'perllocal.pod' -delete
+  find ${pkgdir} -name '.packlist' -delete
+  find ${pkgdir} -name 'perllocal.pod' -delete
 }
-md5sums=('841ca303c88f7184cf0aaab07e52dec4')

Deleted: rrdtool.install
===================================================================
--- rrdtool.install	2009-01-04 22:31:48 UTC (rev 23175)
+++ rrdtool.install	2009-01-04 22:35:47 UTC (rev 23176)
@@ -1,17 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-echo "==>"
-echo "==> Install tcl, python, and/or ruby as required if you"
-echo "==> intend to use the bindings included in this package"
-echo "==>"
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  post_install
-}
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list