summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 785039019a4b56be5d6ca18fe743f7124811d5a3 (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
26
27
# Maintainer: hamki <hamki.do2000@gmail.com>

pkgname=emacs-helm-ag
pkgver=0.64
pkgrel=1
pkgdesc="helm-ag.el provides interfaces of The Silver Searcher with helm."
url="https://github.com/emacsorphanage/helm-ag"
arch=('any')
license=('GPL3')
depends=('emacs-helm' 'the_silver_searcher')
makedepends=()
provides=()
conflicts=()
source=("https://github.com/emacsorphanage/helm-ag/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('85ab7836049b58566824703eacde10d0cddbe0c71fac88977460da56ff7a1ee2')

build() {
  cd "${srcdir}/helm-ag-${pkgver}"
emacs -batch -L . -f batch-byte-compile *.el

}

package() {
  cd "${srcdir}/helm-ag-${pkgver}"
  install -d "${pkgdir}/usr/share/emacs/site-lisp/emacs-helm-ag"
  install -m644 helm* "${pkgdir}/usr/share/emacs/site-lisp/emacs-helm-ag/"
}