summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD25
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..27b3e74e656
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Apr 27 13:35:03 UTC 2017
+pkgbase = emacs-company-mode
+ pkgdesc = Modular in-buffer completion framework for Emacs
+ pkgver = 0.9.3
+ pkgrel = 1
+ url = http://company-mode.github.io
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = emacs
+ provides = emacs-company-mode
+ source = https://github.com/company-mode/company-mode/archive/0.9.3.tar.gz
+ sha256sums = SKIP
+
+pkgname = emacs-company-mode
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fab49a696ec
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
+
+pkgname=emacs-company-mode
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="Modular in-buffer completion framework for Emacs"
+url="http://company-mode.github.io"
+arch=('any')
+license=('GPL3')
+depends=('emacs')
+makedepends=('git')
+provides=('emacs-company-mode')
+source=("https://github.com/company-mode/company-mode/archive/${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/company-mode-${pkgver}"
+ emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
+}
+
+package() {
+ cd "${srcdir}/company-mode-${pkgver}"
+ install -d "${pkgdir}/usr/share/emacs/site-lisp/company-mode"
+ install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/company-mode/"
+}