blob: 940a93c7c990c5aabd7fe45a4518187b5e05f332 (
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
35
36
37
38
39
40
|
# Maintainer: Klaus Alexander Seistrup <klaus at seistrup dot 🇩🇰>
# Contributor: mcode10 <manas at designX6 dot com>
# -*- sh -*-
pkgname='soupault-bin'
_pkgname="${pkgname/-bin}"
pkgver=4.11.0
pkgrel=1
pkgdesc='Static website generator based on HTML element tree rewriting (pre-compiled)'
arch=('aarch64' 'x86_64')
url='https://github.com/PataphysicalSociety/soupault'
license=('MIT') # SPDX-License-Identifier: MIT
makedepends=('minisign')
depends=() # static binary
provides=("$_pkgname")
conflicts=("$_pkgname")
_relpath="$url/releases/download/$pkgver"
_tarball="$_pkgname-$pkgver-linux-$CARCH.tar.gz"
source=("$_relpath/$_tarball"{,.minisig})
# Let's rely on minisign only — see verify() below.
sha256sums=('SKIP' 'SKIP') # Skip to my Lou!
_validminisignkey='RWRfW+gkhk/+iA7dOUtTio6G6KeJCiAEp4Zfozw7eqv2shN90+5z20Cy'
verify() {
minisign -Vm "$_tarball" -P "$_validminisignkey" || exit 1
}
package() {
cd "${_tarball/.tar.gz}" || exit 1
install -vDm0755 -t "$pkgdir/usr/bin" \
"$_pkgname"
install -vDm0644 -t "$pkgdir/usr/share/doc/$pkgname" \
{CHANGELOG,README}.md
install -vDm0644 -t "$pkgdir/usr/share/licenses/$pkgname" \
LICENSE
}
# eof
|