diff options
author | Alex Whitt | 2017-05-02 17:16:00 -0400 |
---|---|---|
committer | Alex Whitt | 2017-05-02 17:16:00 -0400 |
commit | 32ffe300720200e372f41a16aca48c47099b02b4 (patch) | |
tree | ba9d7f7b9b4d1eb020f5fa328fdad0bb2fed2fe9 | |
download | aur-32ffe300720200e372f41a16aca48c47099b02b4.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d95a5d29306a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Tue May 2 21:15:36 UTC 2017 +pkgbase = emacs-diminish + pkgdesc = Diminished modes are minor modes with no modeline display + pkgver = 0.45 + pkgrel = 1 + url = https://github.com/emacsmirror/diminish + arch = any + license = GPL2 + makedepends = git + depends = emacs + provides = emacs-diminish + source = emacs-diminish-0.45.tar.gz::https://github.com/emacsmirror/diminish/archive/v0.45.tar.gz + sha256sums = SKIP + +pkgname = emacs-diminish + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..439f6cf5c4f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com> + +pkgname=emacs-diminish +pkgver=0.45 +pkgrel=1 +pkgdesc="Diminished modes are minor modes with no modeline display" +url="https://github.com/emacsmirror/diminish" +arch=('any') +license=('GPL2') +depends=('emacs') +makedepends=('git') +provides=('emacs-diminish') +source=("$pkgname-$pkgver.tar.gz::https://github.com/emacsmirror/diminish/archive/v${pkgver}.tar.gz") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/diminish-${pkgver}" + emacs -q --no-splash -batch -L . -f batch-byte-compile diminish*.el +} + +package() { + cd "${srcdir}/diminish-${pkgver}" + install -d "${pkgdir}/usr/share/emacs/site-lisp/diminish" + install -m644 diminish*.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/diminish/" +} |