[arch-commits] Commit in maxima/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Sep 12 21:52:44 UTC 2017
Date: Tuesday, September 12, 2017 @ 21:52:43
Author: arojas
Revision: 305394
Remove duplicate desktop file (FS#55607)
Modified:
maxima/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-12 21:28:25 UTC (rev 305393)
+++ PKGBUILD 2017-09-12 21:52:43 UTC (rev 305394)
@@ -4,7 +4,7 @@
pkgname=maxima
pkgver=5.40.0
-pkgrel=2
+pkgrel=3
pkgdesc="A sophisticated computer algebra system"
arch=('i686' 'x86_64')
license=('GPL')
@@ -15,9 +15,8 @@
# 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
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" "$pkgname.desktop")
-sha1sums=('31672bd475e4e508421c6633bd4186f4a97b694a'
- '4398ebb1ec85ccfa12f37516a56d60c26f74b18b')
+source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+sha1sums=('31672bd475e4e508421c6633bd4186f4a97b694a')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -45,13 +44,4 @@
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" emacsdir=/usr/share/emacs/site-lisp/maxima install
-
- # install some freedesktop.org compatibility
- install -Dm644 "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-
- # make sure, we have a nice icon for the desktop file at the right place ;)
- install -d "${pkgdir}/usr/share/pixmaps/"
- ln -s /usr/share/maxima/${pkgver}/xmaxima/maxima-new.png \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}
More information about the arch-commits
mailing list