summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP-Ellis2017-02-10 12:31:10 +1100
committerJP-Ellis2017-02-10 12:31:10 +1100
commit00ac9430a1f9c93d76318a0b974284e9d41d4a3e (patch)
tree14e2c37fd9c8a17a3d8dade618dc4b1491fae2a8
parent77f4e7f192d068b31b2467aca7426ac5ca116a06 (diff)
downloadaur-00ac9430a1f9c93d76318a0b974284e9d41d4a3e.tar.gz
Pacman 5.0 made .install redundant
Pacman 5.0 now has hooks which are automatically run if certain files are installed. Signed-off-by: JP-Ellis <josh@jpellis.me>
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--mathematica.install15
3 files changed, 1 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc661f96df14..c95c34331fda 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Thu Feb 9 06:58:23 UTC 2017
+# Fri Feb 10 01:21:58 UTC 2017
pkgbase = mathematica
pkgdesc = A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
pkgver = 11.0.1
pkgrel = 2
url = http://www.wolfram.com/mathematica/
- install = mathematica.install
arch = i686
arch = x86_64
license = proprietary
diff --git a/PKGBUILD b/PKGBUILD
index a6a4f9033b07..c4bc327c4587 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,6 @@ depends=('ttf-bitstream-vera' 'libxcursor' 'alsa-lib' 'libxml2')
optdepends=('mesa-demos: glxinfo for "fully optimized graphics capabilities"') # without glxinfo, Mathematica outputs a warning to the terminal on startup
source=("local://Mathematica_${pkgver}_LINUX.sh")
md5sums=('444f096c9e058d8a4f8555c06ccc0233')
-install='mathematica.install'
options=('!strip')
PKGEXT=".pkg.tar"
diff --git a/mathematica.install b/mathematica.install
deleted file mode 100644
index 34cdf2448f2f..000000000000
--- a/mathematica.install
+++ /dev/null
@@ -1,15 +0,0 @@
-pkgname=mathematica
-
-post_install() {
- update-desktop-database -q
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
- update-mime-database usr/share/mime &>/dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
-}