summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c77d953d3861be43aa608e41015da9521883825f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>

pkgname=emacs-expand-region
pkgver=0.11.0
pkgrel=1
pkgdesc="Emacs framework for incrementally selecting semantic regions"
url="https://github.com/magnars/expand-region.el"
arch=('any')
license=('GPL3')
depends=('emacs')
makedepends=('git' 'cask')
provides=('emacs-expand-region')
source=("https://github.com/magnars/expand-region.el/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
  cd "${srcdir}/expand-region.el-${pkgver}"
  cask build
}

package() {
  cd "${srcdir}/expand-region.el-${pkgver}"
  install -d "${pkgdir}/usr/share/emacs/site-lisp/expand-region"
  install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/expand-region/"
}