summaryrefslogtreecommitdiff
path: root/pcr/emacs-fuzzy
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-01 15:33:03 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-01 17:11:37 +0100
commit6aa2f7abeb4abce95ab3b7f599e007286ffd68b3 (patch)
tree66e529a98e5b9e14b6e0e7c638dcd5536c091742 /pcr/emacs-fuzzy
parentec1ebf634eb51d4d3f1531a7107e22cc7d21f0d2 (diff)
downloadabslibre-6aa2f7abeb4abce95ab3b7f599e007286ffd68b3.tar.gz
abslibre-6aa2f7abeb4abce95ab3b7f599e007286ffd68b3.tar.bz2
abslibre-6aa2f7abeb4abce95ab3b7f599e007286ffd68b3.zip
pcr/emacs-fuzzy: added
Diffstat (limited to 'pcr/emacs-fuzzy')
-rw-r--r--pcr/emacs-fuzzy/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/emacs-fuzzy/PKGBUILD b/pcr/emacs-fuzzy/PKGBUILD
new file mode 100644
index 000000000..eff83bbdd
--- /dev/null
+++ b/pcr/emacs-fuzzy/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (AUR): Alex Whitt <alex.joseph.whitt@gmail.com>
+
+# parabola changes and rationale:
+# no changes
+
+pkgname=emacs-fuzzy
+pkgver=0.1
+pkgrel=1
+pkgdesc="Fuzzy matching utilities for GNU Emacs"
+url="https://github.com/auto-complete/fuzzy-el"
+arch=('any')
+license=('GPL3')
+depends=('emacs')
+makedepends=('git')
+provides=('emacs-fuzzy')
+source=("https://github.com/auto-complete/fuzzy-el/archive/v${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/fuzzy-el-${pkgver}"
+ emacs -Q -batch -L . -f batch-byte-compile *.el
+}
+
+package() {
+ cd "${srcdir}/fuzzy-el-${pkgver}"
+ install -d "${pkgdir}/usr/share/emacs/site-lisp/fuzzy"
+ install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/fuzzy/"
+}