summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ddc6735d094a31eb8f73818d3202ba26b3dc43b (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: Adria <adria@lightpanda.io>
pkgname=lightpanda-nightly-bin
pkgver=1.0.0+nightly.5301+a6a87527
pkgrel=1
pkgdesc="The headless browser designed for AI and data scripting (Nightly Build)"
arch=('x86_64' 'aarch64')
url="https://github.com/lightpanda-io/browser"
license=('AGPL-3.0')
provides=('lightpanda')
conflicts=('lightpanda')

source_x86_64=("${pkgname}-x86_64::https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux")
source_aarch64=("${pkgname}-aarch64::https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-aarch64-linux")

sha256sums_x86_64=('SKIP')
sha256sums_aarch64=('SKIP')

pkgver() {
    local _bin="${srcdir}/${pkgname}-${CARCH}"
    chmod +x "$_bin"
    "$_bin" version | sed 's/-/+/g'
}

package() {
    install -Dm755 "${srcdir}/${pkgname}-${CARCH}" "${pkgdir}/usr/bin/lightpanda"
}