summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ac481b322312f51729b9b2184db6a991c2d3957 (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
# Maintainer: Jesse McClure <code at jessemcclure dot org>

pkgname=weaver-fossil
pkgver=r146.ec216dc060
pkgrel=1
pkgdesc='qt6-webengine browser w/ minimal UI'
arch=('x86_64')
license=('MIT')
depends=(gcc-libs glibc qt6-base qt6-webengine)
makedepends=(fossil)
optdepends=('qt6-wayland: run under wayland')
url=https://code.jessemcclure.org/weaver
source=(fossil+https://code.jessemcclure.org/weaver)
sha256sums=(SKIP)

pkgver() {
	cd "${srcdir}/weaver"
	echo r$(fossil info | sed -n '$s/[a-z:-]* *//p').$(fossil timeline -n 1 -t ci -F %h | sed 1q)
}

build() {
	cd "${srcdir}/weaver"
	make
}

package() {
	cd "${srcdir}/weaver"
	make PREFIX=/usr DESTDIR="$pkgdir" install
}