version LICENSE

This commit is contained in:
Dominik Schwaiger 2024-09-18 20:24:53 +02:00
parent f112adef73
commit 21ef00b4e0
No known key found for this signature in database
GPG key ID: F7E7E19BC69F7DF5
2 changed files with 13 additions and 23 deletions

View file

@ -1,16 +1,16 @@
pkgbase = surrealdb-bin
pkgdesc = A scalable, distributed, collaborative, document-graph database, for the realtime web
pkgver = 2.0.1
pkgrel = 1
pkgrel = 2
url = https://github.com/surrealdb/surrealdb
arch = x86_64
license = custom:BSL
depends = gcc-libs
provides = surrealdb
conflicts = surrealdb
source = https://github.com/surrealdb/surrealdb/releases/download/v2.0.1/LICENSE
source = LICENSE_2.0.1::https://github.com/surrealdb/surrealdb/releases/download/v2.0.1/LICENSE
source = https://github.com/surrealdb/surrealdb/releases/download/v2.0.1/surreal-v2.0.1.linux-amd64.tgz
sha256sums = a007c53f27d30bda8cc56feec356eba13b646a8fb59a97d151e3aab820429d2d
sha256sums = dd98c688e54be8b85ad79e603f5112449b9789dfc031db94eb5c7dc843702aef
sha256sums = f761b4ead0c732fd6d50dc891a92d9642ee4ed3268ce3c0f499a5941ae762848
pkgname = surrealdb-bin

View file

@ -1,31 +1,21 @@
# Maintainer: Dominik Schwaiger <mail@dominik-schwaiger.ch>
pkgname=surrealdb-bin
_pkgname=surrealdb
pkgname=${_pkgname}-bin
pkgver=2.0.1
pkgrel=1
epoch=
pkgrel=2
pkgdesc="A scalable, distributed, collaborative, document-graph database, for the realtime web"
arch=('x86_64')
url="https://github.com/surrealdb/surrealdb"
license=('custom:BSL')
groups=()
depends=('gcc-libs')
makedepends=()
checkdepends=()
optdepends=()
provides=('surrealdb')
conflicts=('surrealdb')
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/surrealdb/surrealdb/releases/download/v${pkgver//_/-}/LICENSE" "https://github.com/surrealdb/surrealdb/releases/download/v${pkgver//_/-}/surreal-v${pkgver//_/-}.linux-amd64.tgz")
noextract=()
sha256sums=('a007c53f27d30bda8cc56feec356eba13b646a8fb59a97d151e3aab820429d2d' 'f761b4ead0c732fd6d50dc891a92d9642ee4ed3268ce3c0f499a5941ae762848')
validpgpkeys=()
provides=(${_pkgname})
conflicts=(${_pkgname})
_LICENSE=LICENSE_${pkgver}
source=("${_LICENSE}::https://github.com/surrealdb/surrealdb/releases/download/v${pkgver//_/-}/LICENSE" "https://github.com/surrealdb/surrealdb/releases/download/v${pkgver//_/-}/surreal-v${pkgver//_/-}.linux-amd64.tgz")
sha256sums=('dd98c688e54be8b85ad79e603f5112449b9789dfc031db94eb5c7dc843702aef' 'f761b4ead0c732fd6d50dc891a92d9642ee4ed3268ce3c0f499a5941ae762848')
package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "${srcdir}/${_LICENSE}" "${pkgdir}/usr/share/licenses/${_pkgname}"
install -Dm755 surreal "$pkgdir/usr/bin/surreal"
install -Dm755 "${srcdir}/surreal" "${pkgdir}/usr/bin/surreal"
}