diff options
author | Alex Whitt | 2017-04-19 17:05:39 -0400 |
---|---|---|
committer | Alex Whitt | 2017-04-19 17:05:39 -0400 |
commit | 077d61b0982a6b777bea0848e5279acab86e2178 (patch) | |
tree | a5b9bf26416ce36804fbd7f1cbbb907f4e99f60b /PKGBUILD | |
download | aur-077d61b0982a6b777bea0848e5279acab86e2178.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
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/" +} |