diff options
author | Stefan Husmann | 2015-06-09 00:23:41 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:23:41 +0200 |
commit | cc1acf095ad36c1d5a9bb510815870fadc73024e (patch) | |
tree | ae91a8f23263a436898426ade56ac7795d773205 /PKGBUILD | |
download | aur-cc1acf095ad36c1d5a9bb510815870fadc73024e.tar.gz |
initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..323cea527e9c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Kyle Sexton <ks@mocker.org> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=emacs-pkgbuild-mode-git +pkgver=0.13.1 +pkgrel=1 +pkgdesc="A major mode for creating packages with emacs" +arch=('any') +url="https://github.com/stefanhusmann/pkgbuild-mode" +license=('GPL') +depends=('emacs' 'pkgbuild-introspection') +makedepends=('git') +provides=('emacs-pkgbuild-mode') +conflicts=('emacs-pkgbuild-mode') +install=emacs-pkgbuild-mode.install +source=('git+https://github.com/stefanhusmann/pkgbuild-mode.git') +md5sums=('SKIP') +_gitname="pkgbuild-mode" + +pkgver() { + cd "$srcdir/$_gitname" + git describe --tags | sed s+-+.+g +} + +build() { + cd "$srcdir/$_gitname" + emacs -batch -f batch-byte-compile pkgbuild-mode.el +} + +package() { + install -d $pkgdir/usr/share/emacs/site-lisp + install -m644 $srcdir/$_gitname/*.el* \ + $pkgdir/usr/share/emacs/site-lisp/ +} + |