diff options
author | Severen Redwood | 2015-07-14 23:30:53 +1200 |
---|---|---|
committer | Severen Redwood | 2015-07-14 23:30:53 +1200 |
commit | 4522de2f7d0cd81a99a18dbf6e4806ca263d91d4 (patch) | |
tree | 12c9cbb794ec5ca44739c1cb4f3841ffff3959dc | |
parent | 45c1c9417d3ee7aa7c49585bad1bb78070a5539a (diff) | |
download | aur-4522de2f7d0cd81a99a18dbf6e4806ca263d91d4.tar.gz |
Add a Vim modeline
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 14 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = confmacs-git pkgdesc = An Emacs configuration switcher. - pkgver = 20.f27121f + pkgver = 24.fbc9036 pkgrel = 1 url = https://github.com/SShrike/confmacs arch = any @@ -1,10 +1,10 @@ # Maintainer: Severen Redwood <severen.redwood@gmail.com> -_gemname=confmacs -pkgname=confmacs-git -pkgver=20.f27121f +_gemname='confmacs' +pkgname='confmacs-git' +pkgver=24.fbc9036 pkgrel=1 -pkgdesc="An Emacs configuration switcher." +pkgdesc='An Emacs configuration switcher.' arch=('any') license=('GPL3') url='https://github.com/SShrike/confmacs' @@ -12,25 +12,27 @@ makedepends=('git' 'ruby') depends=('ruby-thor>=0.19.1' 'ruby-colorize>=0.7.3' 'ruby-highline>=1.7.2') conflicts=('confmacs') provides=('confmacs') -source=("git+https://github.com/SShrike/confmacs.git") +source=('git+https://github.com/SShrike/confmacs.git') md5sums=('SKIP') noextract=("$pkgname.gem") pkgver() { - cd "confmacs" + cd 'confmacs' echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { - cd "confmacs" + cd 'confmacs' rake build - cd pkg - mv *.gem $pkgname.gem + cd 'pkg' + mv *.gem "$pkgname.gem" } package() { - cd "confmacs" + cd 'confmacs' local _gemdir=$(ruby -e 'puts Gem.default_dir') echo $pkgdir$_gemdir - gem install --ignore-dependencies --no-user-install -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" "./pkg/$pkgname.gem" + gem install --ignore-dependencies --no-user-install -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" "pkg/$pkgname.gem" } + +# vim:set ts=2 sw=2 et: |