summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fe1cfa27c2630c9d007b0164e1f1079d724d5126 (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
# Maintainer: Arsen Musayelyan <arsen@arsenm.dev>
pkgname=permafrost-git
pkgver=r2.d9fc3a8
pkgrel=1
pkgdesc="Lightweight single-site browser generator using Webview or Chrome/Chromium."
arch=('any')
license=('GPLv3')
makedepends=('go')
source=('git+https://gitea.arsenm.dev/Arsen6331/permafrost.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/permafrost"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

package() {
	cd "$srcdir/permafrost"
	make PREFIX="$pkgdir" install
}