summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Whitt2017-06-13 08:33:46 -0400
committerAlex Whitt2017-06-13 08:33:46 -0400
commit84ef7872425c3e37609192782e73636c03c35d7d (patch)
tree589031328825edbdeb0ef7d1c307e771ba6db4f6
downloadaur-84ef7872425c3e37609192782e73636c03c35d7d.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD28
-rw-r--r--emacs-flycheck-pos-tip.install23
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..29404139156
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Tue Jun 13 12:33:13 UTC 2017
+pkgbase = emacs-flycheck-pos-tip
+ pkgdesc = Flycheck errors display in tooltip
+ pkgver = 0.3
+ pkgrel = 1
+ url = https://github.com/flycheck/flycheck-pos-tip
+ install = emacs-flycheck-pos-tip.install
+ arch = any
+ license = GPL3
+ depends = emacs
+ depends = flycheck
+ depends = emacs-pos-tip
+ source = emacs-flycheck-pos-tip-0.3.tar.gz::https://github.com/flycheck/flycheck-pos-tip/archive/0.3.tar.gz
+ sha256sums = adc8bf677e0c917b2f85d248b80ff9b7d90d93fdf7f605b78bcc7369a516fa2d
+
+pkgname = emacs-flycheck-pos-tip
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bdef1d0619b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
+
+_pkgsrcname=flycheck-pos-tip
+_pkgmaintainer=flycheck
+_pkgdestdirname=flycheck-pos-tip
+_versionprefix=
+pkgver=0.3
+pkgrel=1
+pkgdesc="Flycheck errors display in tooltip"
+pkgname=emacs-${_pkgdestdirname}
+arch=(any)
+url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}"
+license=('GPL3')
+depends=('emacs' 'flycheck' 'emacs-pos-tip')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz")
+sha256sums=('adc8bf677e0c917b2f85d248b80ff9b7d90d93fdf7f605b78bcc7369a516fa2d')
+install=${pkgname}.install
+
+build() {
+ cd "${srcdir}/${_pkgsrcname}-${pkgver}"
+ emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
+}
+
+package() {
+ cd "${srcdir}/${_pkgsrcname}-${pkgver}"
+ mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
+ install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
+}
diff --git a/emacs-flycheck-pos-tip.install b/emacs-flycheck-pos-tip.install
new file mode 100644
index 00000000000..8a52ff9d839
--- /dev/null
+++ b/emacs-flycheck-pos-tip.install
@@ -0,0 +1,23 @@
+post_install () {
+
+cat << EOF
+
+==> Add this code to your .emacs file to use the mode:
+
+(require 'flycheck-pos-tip)
+(with-eval-after-load 'flycheck
+ (flycheck-pos-tip-mode))
+
+==> Or, with use-package:
+
+(use-package flycheck-pos-tip
+ :after flycheck
+ :config
+ (flycheck-pos-tip-mode))
+
+EOF
+}
+
+post_upgrade () {
+ post_install $1
+}