summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2017-09-23 23:30:15 +0200
committerhaawda2017-09-23 23:30:15 +0200
commit822907f74118ea43f38ea6e6bd5dc93a8f34e73c (patch)
tree0bc0fbac0cd8ca821bc8241ea2c751f03680484f /PKGBUILD
parent657652f4d6b11fa5b089fd01e9b41dab8ecfb758 (diff)
downloadaur-emacs-markup-faces.tar.gz
adopted, build from tarball
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a8ca9e1cd1..063f9db20e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}