summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangjiezhe2016-04-28 17:04:28 +0800
committerwangjiezhe2016-04-28 17:04:28 +0800
commit59e0d4d6993c9547c847b4d1e14c84769a486d3d (patch)
tree4067943b846765cb68bbfc4f41e6969d4070f026
parenta9932ad0a3fc89909bdb5e8abc20809987dbb77d (diff)
downloadaur-59e0d4d6993c9547c847b4d1e14c84769a486d3d.tar.gz
Hook!
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--reduce-addons-svn.install30
-rw-r--r--reduce-csl-svn.install11
4 files changed, 3 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07f88ea5358..1f60f668798 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
# Generated by mksrcinfo v8
-# Wed Apr 20 04:49:30 UTC 2016
+# Thu Apr 28 09:04:20 UTC 2016
pkgbase = reduce-svn
- pkgver = 20160420.3606
+ pkgver = 20160427.3635
pkgrel = 1
url = http://reduce-algebra.sourceforge.net/
arch = i686
@@ -36,7 +36,6 @@ pkgbase = reduce-svn
pkgname = reduce-csl-svn
pkgdesc = REDUCE Computer Algebra System -- CSL version
- install = reduce-csl-svn.install
depends = reduce-common
provides = reduce-csl
conflicts = reduce-csl
@@ -55,7 +54,6 @@ pkgname = reduce-common-svn
pkgname = reduce-addons-svn
pkgdesc = Useful addons for the REDUCE Computer Algebra System
- install = reduce-addons-svn.install
optdepends = reduce-csl: REDUCE Computer Algebra System
optdepends = reduce-psl: REDUCE Computer Algebra System
optdepends = python2-pyside: for QT-based GUI
diff --git a/PKGBUILD b/PKGBUILD
index 3b3368ad26b..07f00723c3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgbase=reduce-svn
_pkgbase=reduce
pkgname=(reduce-csl-svn reduce-psl-svn reduce-common-svn reduce-addons-svn)
-pkgver=20160420.3606
+pkgver=20160427.3635
pkgrel=1
arch=('i686' 'x86_64')
url="http://reduce-algebra.sourceforge.net/"
@@ -56,7 +56,6 @@ package_reduce-csl-svn() {
conflicts=('reduce-csl' 'reduce-algebra')
pkgdesc='REDUCE Computer Algebra System -- CSL version'
#pkgdesc="A portable general-purpose computer algebra system (CSL version)"
- install=reduce-csl-svn.install
install -Dm755 redcsl ${pkgdir}/usr/bin/redcsl
install -Dm755 csl ${pkgdir}/usr/bin/csl
@@ -134,7 +133,6 @@ package_reduce-addons-svn() {
'reduce-psl: REDUCE Computer Algebra System'
'python2-pyside: for QT-based GUI'
)
- install=reduce-addons-svn.install
cd "${srcdir}/${_pkgbase}-build"
diff --git a/reduce-addons-svn.install b/reduce-addons-svn.install
deleted file mode 100644
index 544f71b9bee..00000000000
--- a/reduce-addons-svn.install
+++ /dev/null
@@ -1,30 +0,0 @@
-infodir=/usr/share/info
-filelist=(reduce-ide.info)
-
-post_install() {
- update-desktop-database -q
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
- while read; do printf '%s\n' "$REPLY"; done <<- EOF
- Warning! This package requires the REDUCE Computer Algebra System
- that is available in one of the packages in the optdepends array!
- It will not work without one of those!
-EOF
-}
-
-post_upgrade() {
- update-desktop-database -q
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}
-
-pre_remove() {
- update-desktop-database -q
- for file in "${filelist[@]}"; do
- install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/reduce-csl-svn.install b/reduce-csl-svn.install
deleted file mode 100644
index e111ef94605..00000000000
--- a/reduce-csl-svn.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}