Skip to content
Snippets Groups Projects
Commit bc6f688a authored by Sergej Pupykin's avatar Sergej Pupykin
Browse files

upgpkg: 3.20.2-1

parent 510aa48c
No related branches found
Tags 3.20.2-1
No related merge requests found
......@@ -2,32 +2,21 @@
# Contributor: Gour <gour@mail.inet.hr>
pkgname=emacs-muse
_pkgname=muse
pkgver=3.20
pkgrel=7
pkgver=3.20.2
pkgrel=1
pkgdesc="Publishing environment for Emacs"
url="https://www.gnu.org/software/emacs-muse/index.html"
arch=('any')
license=('GPL3')
depends=('emacs' )
depends=('emacs')
install=${pkgname}.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/alexott/muse/archive/v$pkgver.tar.gz")
sha256sums=('2ef519db1c1119b2346d40ac8ea640143a5ea939d7b40ac3d142200dc275d584')
prepare() {
cd "$srcdir"/muse-$pkgver
# python2 fix
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' experimental/muse-mathml.el
cp Makefile.defs.default Makefile.defs
sed -i -e "s|\(PREFIX.*= \)/usr/local|\1/usr|" Makefile.defs
}
build() {
cd "$srcdir"/muse-$pkgver
make -j1
}
#source=("$pkgname-$pkgver.tar.gz::https://github.com/alexott/muse/archive/v$pkgver.tar.gz")
source=("https://elpa.gnu.org/packages/muse-$pkgver.tar")
sha256sums=('96a39d0115e26e643f2cf4646521f4522429d7983a8c3b6d2b53f442ba714e3c')
package() {
cd "$srcdir"/muse-$pkgver
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/emacs/site-lisp/muse "$pkgdir"/usr/share/info
cp *.el "$pkgdir"/usr/share/emacs/site-lisp/muse/
cp *.info "$pkgdir"/usr/share/info/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment