summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlex Whitt2017-04-19 17:05:39 -0400
committerAlex Whitt2017-04-19 17:05:39 -0400
commit077d61b0982a6b777bea0848e5279acab86e2178 (patch)
treea5b9bf26416ce36804fbd7f1cbbb907f4e99f60b /PKGBUILD
downloadaur-077d61b0982a6b777bea0848e5279acab86e2178.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6b6de0ec3a18
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
+
+pkgname=emacs-use-package
+pkgver=2.3
+pkgrel=1
+pkgdesc="A use-package declaration for simplifying your .emacs"
+url="https://github.com/jwiegley/use-package"
+arch=('any')
+license=('GPL2')
+depends=('emacs')
+makedepends=('git')
+provides=('emacs-use-package')
+source=("https://github.com/jwiegley/use-package/archive/${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/use-package-${pkgver}"
+ emacs -Q -batch -L . -f batch-byte-compile {use-package,bind-key}*.el
+}
+
+package() {
+ cd "${srcdir}/use-package-${pkgver}"
+ install -d "${pkgdir}/usr/share/emacs/site-lisp/use-package"
+ install -m644 {use-package,bind-key}.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/use-package/"
+}