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

Antonio Rojas arojas at archlinux.org
Mon Aug 8 16:58:37 UTC 2016


    Date: Monday, August 8, 2016 @ 16:58:37
  Author: arojas
Revision: 186074

texlive hooks

Modified:
  sagetex/trunk/PKGBUILD
Deleted:
  sagetex/trunk/sagetex.install

-----------------+
 PKGBUILD        |    3 +--
 sagetex.install |   17 -----------------
 2 files changed, 1 insertion(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-08 16:50:51 UTC (rev 186073)
+++ PKGBUILD	2016-08-08 16:58:37 UTC (rev 186074)
@@ -3,7 +3,7 @@
 
 pkgname=sagetex
 pkgver=3.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Allows to embed code, results of computations, and plots from SageMath into LaTeX documents'
 arch=('any')
 url='https://github.com/dandrake/sagetex'
@@ -11,7 +11,6 @@
 depends=('sagemath' 'texlive-core')
 makedepends=('python2')
 source=("http://mirrors.mit.edu/sage/spkg/upstream/sagetex/$pkgname-$pkgver.tar.gz")
-install=$pkgname.install
 md5sums=('89f539ac31dd35555eb4f7959280ff89')
 
 prepare() {

Deleted: sagetex.install
===================================================================
--- sagetex.install	2016-08-08 16:50:51 UTC (rev 186073)
+++ sagetex.install	2016-08-08 16:58:37 UTC (rev 186074)
@@ -1,17 +0,0 @@
-post_install() {
-  # Update LaTeX db to point to SageTeX
-  if [ -f /usr/bin/texhash ]; then
-    /usr/bin/texhash /usr/share/texmf
-  else
-    echo 'Warning: could not find /usr/bin/texhash'
-    echo 'SageTeX has been installed but you need to run:'
-    echo '# texhash /usr/share/texmf'
-    echo 'So that LaTeX will be able to find it.'
-  fi
-}
-
-post_remove() {
-  if [ -f /usr/bin/texhash ]; then
-    /usr/bin/texhash /usr/share/texmf
-  fi
-}
\ No newline at end of file



More information about the arch-commits mailing list