summaryrefslogtreecommitdiff
path: root/extra/rrdtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rrdtool/PKGBUILD')
-rw-r--r--extra/rrdtool/PKGBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index 3c829c047..b3b42deb7 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 180584 2013-03-23 23:09:38Z td123 $
+# $Id: PKGBUILD 184432 2013-05-06 19:39:40Z foutrelis $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=rrdtool
pkgver=1.4.7
-pkgrel=5
+pkgrel=6
pkgdesc="Data logging and graphing application"
arch=('i686' 'x86_64')
url="http://www.rrdtool.org"
@@ -18,12 +18,14 @@ options=('!libtool' '!emptydirs' '!makeflags')
source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
sha1sums=('faab7df7696b69f85d6f89dd9708d7cf0c9a273b')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+prepare() {
+ cd ${pkgname}-${pkgver}
# fix FS#28521 make ruby install to vendor_ruby instead of site_ruby
sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in
+}
+build() {
+ cd ${pkgname}-${pkgver}
PYTHON=python2 LUA=/usr/bin/lua5.1 \
LUA_CFLAGS="-I/usr/include/lua5.1 -llua5.1" LUA_INSTALL_CMOD="/usr/lib/lua/5.1" \
./configure --prefix=/usr --localstatedir=/var --disable-rpath \
@@ -34,7 +36,7 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" includedir=/usr/include install
install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}