Date: Friday, November 9, 2018 @ 22:51:08 Author: felixonmars Revision: 405102
archrelease: copy trunk to community-staging-any Added: emacs-haskell-mode/repos/community-staging-any/ emacs-haskell-mode/repos/community-staging-any/PKGBUILD (from rev 405100, emacs-haskell-mode/trunk/PKGBUILD) emacs-haskell-mode/repos/community-staging-any/emacs-haskell-mode.install (from rev 405100, emacs-haskell-mode/trunk/emacs-haskell-mode.install) ----------------------------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ emacs-haskell-mode.install | 11 +++++++++++ 2 files changed, 49 insertions(+) Copied: emacs-haskell-mode/repos/community-staging-any/PKGBUILD (from rev 405100, emacs-haskell-mode/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-11-09 22:51:08 UTC (rev 405102) @@ -0,0 +1,38 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Gleidson <gleidson.ech...@gmail.com> + +pkgname=emacs-haskell-mode +pkgver=13.20 +pkgrel=2 +pkgdesc="Haskell mode package for Emacs" +arch=(any) +license=('GPL') +url="https://github.com/haskell/haskell-mode" +install=emacs-haskell-mode.install +makedepends=('emacs') +source=($pkgname-$pkgver.tar.gz::https://github.com/haskell/haskell-mode/archive/v$pkgver.tar.gz) +md5sums=('28dc2e6fb1dad0f488ceec80896f0088') + +prepare() { + cd "$srcdir"/haskell-mode-$pkgver + sed -i 's|haskell-mode-pkg.el,|haskell-mode-pkg.el haskell-mode.el,|' Makefile +} + +build() { + cd "$srcdir"/haskell-mode-$pkgver + export EMACS=/usr/bin/emacs + make +} + +package() { + cd "$srcdir"/haskell-mode-$pkgver + + install -dm0755 "$pkgdir"/usr/share/emacs/site-lisp/haskell-mode + install -m0644 *.el -t "$pkgdir"/usr/share/emacs/site-lisp/haskell-mode + cp -a build-$(emacs --version | head -n1 | cut -f3 -d' ') -t "$pkgdir"/usr/share/emacs/site-lisp/haskell-mode/ + + install -dm0755 "$pkgdir"/usr/share/doc/$pkgname + install -m0644 NEWS README.md "$pkgdir"/usr/share/doc/$pkgname + + install -Dm0644 haskell-mode.info "$pkgdir"/usr/share/info/haskell-mode.info +} Copied: emacs-haskell-mode/repos/community-staging-any/emacs-haskell-mode.install (from rev 405100, emacs-haskell-mode/trunk/emacs-haskell-mode.install) =================================================================== --- community-staging-any/emacs-haskell-mode.install (rev 0) +++ community-staging-any/emacs-haskell-mode.install 2018-11-09 22:51:08 UTC (rev 405102) @@ -0,0 +1,11 @@ +post_install () { + echo "" + echo "==> Read the haskell-*.el files in /usr/share/emacs/site-lisp/haskell-mode" + echo "==> for information about how to configure your ~/.emacs" + echo "" +} + +post_upgrade () { + post_install $1 +} +