summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4871d29a8c69315a2836cf10247d6359c95ab18b (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
# Maintainer: minus <minus@mnus.de>

pkgname=jsq
pkgver=0.1.0
pkgrel=1
pkgdesc="Query JSON using JavaScript"
arch=('x86_64')
url="https://git.sr.ht/~minus/jsq"
license=('custom')
makedepends=('quickjs')
source=(
	"https://git.sr.ht/~minus/jsq/archive/v$pkgver.tar.gz"
)
sha256sums=('5f0663d744d7f8591beea46d60db8bdf66c4ff1013e455f19ceb8fb9ab3c09dc')

build() {
  cd "$srcdir/jsq-v$pkgver"

  make
}

package() {
  cd "$srcdir/jsq-v$pkgver"

  make install DESTDIR="$pkgdir" PREFIX=/usr
}