blob: 4f091026299110a37a44635e827c9d6f24f5b95e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: aksh1618 <aakarshituppal at gmail dot com>
pkgname=kobweb
pkgver=0.9.18
pkgrel=1
pkgdesc='Set up and manage your Kobweb-enhanced Compose HTML app'
arch=('any')
url='https://kobweb.varabyte.com/'
license=('APACHE')
depends=('sh'
'java-runtime>=11')
source=("https://github.com/varabyte/kobweb-cli/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar"
"${pkgname}")
sha256sums=('06388746348cb3725fd5f363ad47a669c0c9c0bed25ca7fe64112f87352e1ff2'
'9a7574f298111c7f1941f80f5b41745c650267d55e5a76f3e963e53dfdbebc84')
package() {
install -Dm644 "$srcdir/${pkgname}-${pkgver}/lib/"* -t "$pkgdir/usr/share/java/kobweb/"
sed -i "s/{pkgver}/${pkgver}/g" "${srcdir}/${pkgname}"
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}
|