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

Antonio Rojas arojas at archlinux.org
Sat May 14 18:53:55 UTC 2016


    Date: Saturday, May 14, 2016 @ 20:53:55
  Author: arojas
Revision: 268004

Hooks

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-14 18:45:57 UTC (rev 268003)
+++ PKGBUILD	2016-05-14 18:53:55 UTC (rev 268004)
@@ -4,7 +4,7 @@
 
 pkgname=maxima
 pkgver=5.38.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A sophisticated computer algebra system"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -15,7 +15,6 @@
 # needs rebuild when bash changes version
 # needs a rebuild when sbcl changes version
 options=('!makeflags' '!zipman') # don't zip info pages or they won't work inside maxima
-install=maxima.install
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" "$pkgname.desktop")
 sha1sums=('1cc9ba840f115ab18813dfffeab89fb68ea735ce'
           '4398ebb1ec85ccfa12f37516a56d60c26f74b18b')

Deleted: maxima.install
===================================================================
--- maxima.install	2016-05-14 18:45:57 UTC (rev 268003)
+++ maxima.install	2016-05-14 18:53:55 UTC (rev 268004)
@@ -1,19 +0,0 @@
-infodir=/usr/share/info
-filelist=(imaxima.info maxima.info xmaxima.info)
-
-post_install() {
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
-  done
-  update-mime-database /usr/share/mime > /dev/null
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-  done
-}



More information about the arch-commits mailing list