diff options
author | haawda | 2017-09-23 23:30:15 +0200 |
---|---|---|
committer | haawda | 2017-09-23 23:30:15 +0200 |
commit | 822907f74118ea43f38ea6e6bd5dc93a8f34e73c (patch) | |
tree | 0bc0fbac0cd8ca821bc8241ea2c751f03680484f | |
parent | 657652f4d6b11fa5b089fd01e9b41dab8ecfb758 (diff) | |
download | aur-822907f74118ea43f38ea6e6bd5dc93a8f34e73c.tar.gz |
adopted, build from tarball
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 20 insertions, 12 deletions
@@ -1,13 +1,13 @@ pkgbase = emacs-markup-faces - pkgdesc = As font-lock-faces, but tailored for markup languages instead programming languages + pkgdesc = Like font-lock-faces, but tailored for markup languages instead programming languages pkgver = 1.0.0 - pkgrel = 1 + pkgrel = 2 url = http://github.com/sensorflo/markup-faces arch = any - license = GPL + license = GPL3 depends = emacs - source = git+http://github.com/sensorflo/markup-faces#commit=c43612633c6c161857a3bab5752ae192bb03f5f3 - md5sums = SKIP + source = emacs-markup-faces-1.0.0.tar.gz::http://github.com/sensorflo/markup-faces/archive/V1.0.0.tar.gz + sha256sums = 39373f227eaf4ad72be4438ba36bbb2d581672c609f30d81b3a32fce46eb3f41 pkgname = emacs-markup-faces @@ -1,17 +1,25 @@ -# Maintainer: Oliver Mangold +# Contributor: Oliver Mangold +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=emacs-markup-faces pkgver=1.0.0 -pkgrel=1 -pkgdesc="As font-lock-faces, but tailored for markup languages instead programming languages" +pkgrel=2 +pkgdesc="Like font-lock-faces, but tailored for markup languages instead programming languages" arch=('any') url="http://github.com/sensorflo/markup-faces" -license=('GPL') +license=('GPL3') depends=('emacs') -source=(git+http://github.com/sensorflo/markup-faces#commit=c43612633c6c161857a3bab5752ae192bb03f5f3) -md5sums=(SKIP) +source=("$pkgname-$pkgver.tar.gz::http://github.com/sensorflo/${pkgname#emacs-}/archive/V$pkgver.tar.gz") +sha256sums=('39373f227eaf4ad72be4438ba36bbb2d581672c609f30d81b3a32fce46eb3f41') + +build() { + emacs -batch -q -f batch-byte-compile ${pkgname#emacs-}-$pkgver/${pkgname#emacs-}.el +} package() { # Install the mode for Emacs - install -D -m644 "$srcdir/markup-faces/markup-faces.el" "$pkgdir/usr/share/emacs/site-lisp/markup-faces.el" + install -D -m644 "$srcdir"/${pkgname#emacs-}-$pkgver/${pkgname#emacs-}.el \ + "$pkgdir"/usr/share/emacs/site-lisp/${pkgname#emacs-}.el + install -D -m644 "$srcdir"/${pkgname#emacs-}-$pkgver/${pkgname#emacs-}.elc \ + "$pkgdir"/usr/share/emacs/site-lisp/${pkgname#emacs-}.elc } |