summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kobel2018-11-08 10:38:17 +0100
committerAlexander Kobel2018-11-08 10:38:17 +0100
commit233dc8a434c03999539fec017303e1770f28a0b6 (patch)
treebd1ad03f070b3de50c6551d292f04b6dc159479e
downloadaur-233dc8a434c03999539fec017303e1770f28a0b6.tar.gz
emacs-maplev mode
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD38
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..89c36c30883
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = emacs-maplev
+ pkgdesc = Emacs package for Maple developers
+ pkgver = 2.37
+ pkgrel = 1
+ url = https://github.com/JoeRiel/maplev
+ arch = any
+ license = GPL
+ makedepends = unzip
+ depends = emacs
+ noextract = maplev-built.zip
+ source = https://github.com/JoeRiel/maplev/archive/release-2.37.tar.gz
+ source = https://github.com/JoeRiel/maplev/files/2046240/maplev-built.zip
+ sha256sums = 8dd16724c65a34293516fa498068edd609c4a13c0826763019327d8ed5f4f2ad
+ sha256sums = 1ef3264c6b33d846efccca6f4a807e821275f8b054857da33e1d06f32032aacb
+
+pkgname = emacs-maplev
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6d8af96422e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Alexander Kobel <a-kobel@a-kobel.de
+
+pkgname=emacs-maplev
+pkgver=2.37
+pkgrel=1
+pkgdesc="Emacs package for Maple developers"
+arch=('any')
+url="https://github.com/JoeRiel/maplev"
+depends=('emacs')
+makedepends=('unzip')
+license=('GPL')
+source=("${url}/archive/release-${pkgver}.tar.gz"
+ "${url}/files/2046240/maplev-built.zip")
+noextract=('maplev-built.zip')
+sha256sums=('8dd16724c65a34293516fa498068edd609c4a13c0826763019327d8ed5f4f2ad'
+ '1ef3264c6b33d846efccca6f4a807e821275f8b054857da33e1d06f32032aacb')
+
+prepare() {
+ cd "${srcdir}/maplev-release-${pkgver}/doc"
+ # filter spurious complaints because this is not a git repo
+ ./MakeVersion version.texi ${pkgver} 2> /dev/null
+
+ cd "${srcdir}/maplev-release-${pkgver}"
+ unzip -o "${srcdir}/maplev-built.zip"
+ sed -i -e s/ginstall-info/install-info/ Makefile
+
+ # avoid rebuilding files from maplev-built.zip
+ touch maplev.mla doc/maplev.{html,info,pdf}
+}
+
+package() {
+ cd "${srcdir}/maplev-release-${pkgver}"
+ make install \
+ VERSION=${pkgver} \
+ LISP-DIR=${pkgdir}/usr/share/emacs/site-lisp/maple \
+ INFO-DIR=${pkgdir}/usr/share/info \
+ TOOLBOX-DIR=${pkgdir}/usr/share/emacs/site-lisp/maple/toolbox
+}