summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb9bf8bb055cadea1ffe09a439d4c72258ada0df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: hamki <hamki.do2000@gmail.com>

pkgname=emacs-emacsql-sqlite3
pkgver=1.0.2
pkgrel=1
pkgdesc="This is yet another EmacSQL backend for SQLite, which use official sqlite3 executable to access SQL database."
arch=('any')
url="https://github.com/cireu/emacsql-sqlite3"
license=('GPL3')
depends=('emacs' 'emacs-emacsql')
source=("https://github.com/cireu/emacsql-sqlite3/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('10cd12382bbb9cbbf36d45382b2aff1a679c3af70574954561ed1caf5fc328f7')

build() {
  cd emacsql-sqlite3-$pkgver
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}

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