blob: 1141fdb534e51ebfac1526a8a3860e939a37fcee (
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
28
29
30
31
32
33
34
|
# Maintainer: wackbyte <im@purring.fyi>
_pkgname=hare-sqlite
pkgname=hare-sqlite-git
pkgver=r19.2792eeb
pkgrel=1
pkgdesc='SQLite support for Hare'
arch=('any')
url="https://git.sr.ht/~blainsmith/${_pkgname}"
license=('MIT')
depends=('hare' 'sqlite')
makedepends=('git')
provides=('hare-sqlite')
conflicts=('hare-sqlite')
source=("git+${url}")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
check() {
cd $_pkgname
make check
}
package() {
cd $_pkgname
make DESTDIR="${pkgdir}" PREFIX=/usr install
}
|