diff options
author | haawda | 2017-05-17 11:31:24 +0200 |
---|---|---|
committer | haawda | 2017-05-17 11:31:24 +0200 |
commit | 7135d800c7d2f8ba9841ef60dfa16e3c1ff0d3f4 (patch) | |
tree | 2035a38cbb2a36e69d749eb8b724c4d8e4fa39c8 | |
parent | 118a84c467480179fc5e861d2dffdc541c32cf73 (diff) | |
download | aur-7135d800c7d2f8ba9841ef60dfa16e3c1ff0d3f4.tar.gz |
pull from github now
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 12 insertions, 9 deletions
@@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Sat Mar 4 20:26:20 UTC 2017 pkgbase = emacs-icicles pkgdesc = an emacs library that enhances minibuffer completion pkgver = 23710 @@ -9,6 +7,8 @@ pkgbase = emacs-icicles arch = any license = GPL makedepends = wget + source = icicles.zip::https://github.com/emacsmirror/icicles/archive/master.zip + md5sums = e674331f00557429e5f093f4993d0695 pkgname = emacs-icicles @@ -8,20 +8,23 @@ pkgdesc="an emacs library that enhances minibuffer completion" arch=('any') url="http://www.emacswiki.org/emacs/Icicles" license=('GPL') +source=("icicles.zip::https://github.com/emacsmirror/icicles/archive/master.zip") +md5sums=('e674331f00557429e5f093f4993d0695') makedepends=(wget) install=icicles.install pkgver() { - [ -d icicles ] && rm -r icicles - mkdir icicles - cd icicles - wget http://www.emacswiki.org/emacs/download/icicles{,-chg,-cmd1,-cmd2,-doc1,-doc2,-face,-fn,-mac,-mcmd,-mode,-opt,-var}.el - - echo $(awk '/Update #:/ {print $4}' icicles.el) + cd icicles-master + echo $(awk '/Update #:/ {print $4}' icicles.el) +} + +build() { + cd icicles-master emacs -Q -batch -L . -f batch-byte-compile *.el || true } package() { install -d "$pkgdir"/usr/share/emacs/site-lisp/icicles - cp -r "$srcdir"/icicles/* "$pkgdir"/usr/share/emacs/site-lisp/icicles + cp -r "$srcdir"/icicles-master/* "$pkgdir"/usr/share/emacs/site-lisp/icicles } + |