diff options
author | eolianoe | 2016-05-05 14:52:14 +0200 |
---|---|---|
committer | eolianoe | 2016-05-05 14:52:14 +0200 |
commit | f05a3a76c15cf85d54942cd7f75651fe4b5dd341 (patch) | |
tree | f8a6735f4a337268d8f8538ae9d73ab2c350db1a | |
parent | 993d5e8ed9bb6fbca6e8827a31d7bdffcaf5b5ff (diff) | |
download | aur-f05a3a76c15cf85d54942cd7f75651fe4b5dd341.tar.gz |
use hooks rather than install files
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | scilab.install | 13 |
3 files changed, 2 insertions, 22 deletions
@@ -1,11 +1,10 @@ # Generated by mksrcinfo v8 -# Tue Feb 2 08:52:41 UTC 2016 +# Thu May 5 12:50:35 UTC 2016 pkgbase = scilab pkgdesc = A scientific software package for numerical computations. pkgver = 5.5.2 pkgrel = 8 url = https://www.scilab.org - install = scilab.install arch = i686 arch = x86_64 license = BSD @@ -14,9 +13,6 @@ pkgbase = scilab makedepends = apache-ant makedepends = ocaml makedepends = gcc-fortran - depends = shared-mime-info - depends = desktop-file-utils - depends = gtk-update-icon-cache depends = suitesparse>=4.4.1 depends = arpack depends = fftw @@ -9,8 +9,7 @@ pkgdesc='A scientific software package for numerical computations.' arch=('i686' 'x86_64') url='https://www.scilab.org' license=('BSD' 'custom:CeCILL') -depends=('shared-mime-info' 'desktop-file-utils' 'gtk-update-icon-cache' - 'suitesparse>=4.4.1' 'arpack' 'fftw' +depends=('suitesparse>=4.4.1' 'arpack' 'fftw' 'libmatio' 'tk' 'curl' 'java-runtime=7' 'beanshell2' 'eclipse-ecj' 'java-flexdock>=1.2.4' 'fop-hyph' @@ -36,8 +35,6 @@ sha256sums=('a734519de96d35b8f081768a5584086e46db089ab11c021744897b22ec4d0f5e' 'cda2635f25a56f3c423f7a88791222aae3caad53c086cedc0cfe48011936a5a8' '1796919522e00f6f0a38677ba1b79498822a9e75a7e7da2c31ebaa935153d92e') -install=${pkgname}.install - prepare(){ cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/scilab.install b/scilab.install deleted file mode 100644 index 4b637a8873d2..000000000000 --- a/scilab.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - update-mime-database usr/share/mime - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} |