diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | emacs-spaceline-all-the-icons.install | 20 |
3 files changed, 25 insertions, 3 deletions
@@ -1,17 +1,18 @@ # Generated by mksrcinfo v8 -# Wed May 3 22:10:43 UTC 2017 +# Thu May 4 17:04:54 UTC 2017 pkgbase = emacs-spaceline-all-the-icons pkgdesc = A Spaceline Mode Line theme using All The Icons for Emacs pkgver = 1.0.8 pkgrel = 1 url = https://github.com/domtronn/spaceline-all-the-icons.el + install = emacs-spaceline-all-the-icons.install arch = any license = MIT depends = emacs depends = emacs-spaceline depends = emacs-all-the-icons source = emacs-spaceline-all-the-icons-1.0.8.tar.gz::https://github.com/domtronn/spaceline-all-the-icons.el/archive/1.0.8.tar.gz - sha256sums = SKIP + sha256sums = 9ce4dc7bdbf54134879245427de21ccc81f05e9263b81b82811dcaed5cd7ebee pkgname = emacs-spaceline-all-the-icons @@ -13,7 +13,8 @@ url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}" license=('MIT') depends=('emacs' 'emacs-spaceline' 'emacs-all-the-icons') source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz") -sha256sums=('SKIP') +sha256sums=('9ce4dc7bdbf54134879245427de21ccc81f05e9263b81b82811dcaed5cd7ebee') +install=${pkgname}.install build() { cd "${srcdir}/${_pkgsrcname}-${pkgver}" diff --git a/emacs-spaceline-all-the-icons.install b/emacs-spaceline-all-the-icons.install new file mode 100644 index 000000000000..f30c9fa0a757 --- /dev/null +++ b/emacs-spaceline-all-the-icons.install @@ -0,0 +1,20 @@ +post_install () { + +cat << EOF + +==> Add this code to your .emacs file to use the mode: + +(require 'spaceline-all-the-icons) + +==> Or, with use-package: + +(use-package spaceline-all-the-icons + :after spaceline + :config (spaceline-all-the-icons-theme)) + +EOF +} + +post_upgrade () { + post_install $1 +} |