summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/emacs-popup-el/PKGBUILD35
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: