commit a935dfd69c01f8e74ba557ca41cb2eb0380a933e Author: Dominik Schwaiger Date: Sun Sep 11 06:46:34 2022 +0200 initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a54af3d2c491 --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..6d27c5d7d58c --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +*.tar.* +src/ +pkg/ +LICENSE* +cache/ +*.tgz.* +*.tgz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..465eb7a41a81 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Dominik Schwaiger +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" +}