initial commit

This commit is contained in:
Dominik Schwaiger 2022-09-11 06:46:34 +02:00
commit a935dfd69c
No known key found for this signature in database
GPG key ID: F7E7E19BC69F7DF5
3 changed files with 56 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = surrealdb-bin
pkgdesc = A scalable, distributed, collaborative, document-graph database, for the realtime web
pkgver = 1.0.0_beta.7
pkgrel = 1
url = https://github.com/surrealdb/surrealdb
arch = x86_64
license = custom:BSL
license = MIT
license = Apache
depends = curl
provides = surrealdb
conflicts = surrealdb
source = https://github.com/surrealdb/surrealdb/releases/download/v1.0.0-beta.7/LICENSE
source = https://github.com/surrealdb/surrealdb/releases/download/v1.0.0-beta.7/surreal-v1.0.0-beta.7.linux-amd64.tgz
sha256sums = 3012620080caa47eb9d8fd490044274b9b71eda7fc48c9084914a5470800a868
sha256sums = 0cf3f72bb195746b451ed68a82ee256c1f20e5c9f1379a0dba01286eca9dd13c
pkgname = surrealdb-bin

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
*.tar.*
src/
pkg/
LICENSE*
cache/
*.tgz.*
*.tgz

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: Dominik Schwaiger <mail@dominik-schwaiger.ch>
pkgname=surrealdb-bin
pkgver=1.0.0_beta.7
pkgrel=1
epoch=
pkgdesc="A scalable, distributed, collaborative, document-graph database, for the realtime web"
arch=('x86_64')
url="https://github.com/surrealdb/surrealdb"
license=('custom:BSL' 'MIT' 'Apache')
groups=()
depends=('curl')
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=('3012620080caa47eb9d8fd490044274b9b71eda7fc48c9084914a5470800a868' '0cf3f72bb195746b451ed68a82ee256c1f20e5c9f1379a0dba01286eca9dd13c')
validpgpkeys=()
package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 surreal "$pkgdir/usr/bin/surreal"
}