diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-02-01 15:32:48 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-02-01 17:11:37 +0100 |
commit | ec1ebf634eb51d4d3f1531a7107e22cc7d21f0d2 (patch) | |
tree | e2903f8b7208b6d8a3154d69bac4c93c2c12c421 /pcr/emacs-popup-el | |
parent | 452dd9bdc9e4e18d69355503aa100dcab8e838d0 (diff) | |
download | abslibre-ec1ebf634eb51d4d3f1531a7107e22cc7d21f0d2.tar.gz abslibre-ec1ebf634eb51d4d3f1531a7107e22cc7d21f0d2.tar.bz2 abslibre-ec1ebf634eb51d4d3f1531a7107e22cc7d21f0d2.zip |
pcr/emacs-popup-el: added
Diffstat (limited to 'pcr/emacs-popup-el')
-rw-r--r-- | pcr/emacs-popup-el/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/emacs-popup-el/PKGBUILD b/pcr/emacs-popup-el/PKGBUILD new file mode 100644 index 000000000..5d50f5800 --- /dev/null +++ b/pcr/emacs-popup-el/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer (AUR): yuki-san <yuki.from.akita@gmail.com> + +# parabola changes and rationale: +# no changes. + +pkgname=emacs-popup-el +pkgver=0.5.3 +pkgrel=3 +pkgdesc='A visual popup user interface library for Emacs' +arch=('any') +url="https://github.com/auto-complete/popup-el" +license=('GPL') +depends=('emacs') +makedepends=('emacs') +source=(${pkgname#emacs-}-${pkgver}.tar.gz::"https://github.com/auto-complete/popup-el/archive/v${pkgver}.tar.gz") +md5sums=('7dedfb1b46cc2f88a7004391f3f5d314') + +_elfile=popup + +build() { + cd "$srcdir/${pkgname#emacs-}-${pkgver}" + emacs -q -batch -f batch-byte-compile "$_elfile".el +} + +package() { + cd "$srcdir/${pkgname#emacs-}-${pkgver}" + install -d -m 755 "$pkgdir"/usr/share/emacs/site-lisp + install -c -m 644 "$_elfile".el "$pkgdir"/usr/share/emacs/site-lisp + install -c -m 644 "$_elfile".elc "$pkgdir"/usr/share/emacs/site-lisp + + install -d -m 755 "$pkgdir"/usr/share/doc/${pkgname} + install -c -m 644 README.md "$pkgdir"/usr/share/doc/${pkgname} +} + +# vim:set ts=2 sw=2 et: |