Date: Saturday, January 11, 2014 @ 01:39:23 Author: svenstaro Revision: 203452
archrelease: copy trunk to testing-i686, testing-x86_64 Added: gnuplot/repos/testing-x86_64/PKGBUILD (from rev 203451, gnuplot/trunk/PKGBUILD) gnuplot/repos/testing-x86_64/gnuplot.install (from rev 203451, gnuplot/trunk/gnuplot.install) Deleted: gnuplot/repos/testing-i686/PKGBUILD gnuplot/repos/testing-i686/gnuplot.install --------------------------------+ testing-i686/PKGBUILD | 49 --------------------------------------- testing-i686/gnuplot.install | 35 --------------------------- testing-x86_64/PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++ testing-x86_64/gnuplot.install | 35 +++++++++++++++++++++++++++ 4 files changed, 84 insertions(+), 84 deletions(-) Deleted: testing-i686/PKGBUILD =================================================================== --- testing-i686/PKGBUILD 2014-01-11 00:36:51 UTC (rev 203451) +++ testing-i686/PKGBUILD 2014-01-11 00:39:23 UTC (rev 203452) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: damir <da...@archlinux.org> -# Contributor: Tom Newsom <jeeps...@gmx.co.uk> - -pkgname=gnuplot -pkgver=4.6.4 -pkgrel=3 -pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" -arch=('i686' 'x86_64') -url="http://www.gnuplot.info" -license=('custom') -depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua' 'qt4') -makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra') -options=('!makeflags') -install=gnuplot.install -source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") -sha1sums=('54ee5ce9a0a2698b046064bd275e772673350013') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - # fix default source location; use the GDFONTPATH variable to modify at runtime - sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c - - sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \ - -e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \ - src/variable.c -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr \ - --libexecdir=/usr/bin \ - --with-gihdir=/usr/share/gnuplot \ - --with-readline=gnu --enable-qt - make pkglibexecdir=/usr/bin -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install install-info - - install -Dm644 lisp/dotemacs "$pkgdir/usr/share/emacs/site-lisp/dotemacs" - install -Dm644 Copyright "$pkgdir/usr/share/licenses/$pkgname/Copyright" - - rm -f "$pkgdir/usr/share/texmf-dist/ls-R" -} Deleted: testing-i686/gnuplot.install =================================================================== --- testing-i686/gnuplot.install 2014-01-11 00:36:51 UTC (rev 203451) +++ testing-i686/gnuplot.install 2014-01-11 00:39:23 UTC (rev 203452) @@ -1,35 +0,0 @@ -info_dir=/usr/share/info -info_files=(gnuplot.info) - -post_install() { -cat << EOF -==> To add the gnuplot mode in Emacs, add the content of /usr/share/emacs/site-lisp/dotemacs to your ~/.emacs file. -EOF - - if [ -f /usr/bin/mktexlsr ]; then - echo "Updating TeX tree..." - mktexlsr - fi - -for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_remove() { - if [ -f /usr/bin/mktexlsr ]; then - echo "Updating TeX tree..." - mktexlsr - fi -} - Copied: gnuplot/repos/testing-x86_64/PKGBUILD (from rev 203451, gnuplot/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-01-11 00:39:23 UTC (rev 203452) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: damir <da...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=gnuplot +pkgver=4.6.4 +pkgrel=4 +pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" +arch=('i686' 'x86_64') +url="http://www.gnuplot.info" +license=('custom') +depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua' 'qt4' 'gnutls') +makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra') +options=('!makeflags') +install=gnuplot.install +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") +sha1sums=('54ee5ce9a0a2698b046064bd275e772673350013') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # fix default source location; use the GDFONTPATH variable to modify at runtime + sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c + + sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \ + -e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \ + src/variable.c +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr \ + --libexecdir=/usr/bin \ + --with-gihdir=/usr/share/gnuplot \ + --with-readline=gnu --enable-qt + make pkglibexecdir=/usr/bin +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install install-info + + install -Dm644 lisp/dotemacs "$pkgdir/usr/share/emacs/site-lisp/dotemacs" + install -Dm644 Copyright "$pkgdir/usr/share/licenses/$pkgname/Copyright" + + rm -f "$pkgdir/usr/share/texmf-dist/ls-R" +} Copied: gnuplot/repos/testing-x86_64/gnuplot.install (from rev 203451, gnuplot/trunk/gnuplot.install) =================================================================== --- testing-x86_64/gnuplot.install (rev 0) +++ testing-x86_64/gnuplot.install 2014-01-11 00:39:23 UTC (rev 203452) @@ -0,0 +1,35 @@ +info_dir=/usr/share/info +info_files=(gnuplot.info) + +post_install() { +cat << EOF +==> To add the gnuplot mode in Emacs, add the content of /usr/share/emacs/site-lisp/dotemacs to your ~/.emacs file. +EOF + + if [ -f /usr/bin/mktexlsr ]; then + echo "Updating TeX tree..." + mktexlsr + fi + +for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_remove() { + if [ -f /usr/bin/mktexlsr ]; then + echo "Updating TeX tree..." + mktexlsr + fi +} +