added clang ad dependency and updated packguild

This commit is contained in:
Dominik Schwaiger 2022-12-16 07:57:24 +01:00
parent c118495f8f
commit 96d0fb39c8
No known key found for this signature in database
GPG key ID: F7E7E19BC69F7DF5
2 changed files with 9 additions and 8 deletions

View file

@ -1,7 +1,7 @@
pkgbase = surrealdb
pkgdesc = A scalable, distributed, collaborative, document-graph database, for the realtime web
pkgver = 1.0.0_beta.8
pkgrel = 2
pkgrel = 3
url = https://github.com/surrealdb/surrealdb
arch = x86_64
license = custom:BSL
@ -10,9 +10,10 @@ pkgbase = surrealdb
checkdepends = rust
makedepends = rust
depends = curl
depends = clang
conflicts = surrealdb-bin
source = https://github.com/surrealdb/surrealdb/releases/download/v1.0.0-beta.8/LICENSE
source = https://github.com/surrealdb/surrealdb/archive/refs/tags/v1.0.0-beta.8.tar.gz
source = surrealdb-1.0.0_beta.8.tar.gz::https://github.com/surrealdb/surrealdb/archive/refs/tags/v1.0.0-beta.8.tar.gz
sha256sums = 3012620080caa47eb9d8fd490044274b9b71eda7fc48c9084914a5470800a868
sha256sums = 02ed4b6de4c2ac6a3234c775ee8c82699bc2f3e987a36bf52b364db3fa3c26a5

View file

@ -1,14 +1,14 @@
# Maintainer: Dominik Schwaiger <mail@dominik-schwaiger.ch>
pkgname=surrealdb
pkgver=1.0.0_beta.8
pkgrel=2
pkgrel=3
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')
depends=('curl' 'clang')
makedepends=('rust')
checkdepends=('rust')
optdepends=()
@ -19,23 +19,23 @@ backup=()
options=()
install=
changelog=
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver//_/-}/LICENSE" "https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${pkgver//_/-}.tar.gz")
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver//_/-}/LICENSE" "${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${pkgver//_/-}.tar.gz")
noextract=()
sha256sums=('3012620080caa47eb9d8fd490044274b9b71eda7fc48c9084914a5470800a868' '02ed4b6de4c2ac6a3234c775ee8c82699bc2f3e987a36bf52b364db3fa3c26a5')
validpgpkeys=()
build() {
cd "$pkgname-${pkgver//_/-}"
cd "$pkgname-${pkgver//_/-}" || exit
make build
}
check() {
cd "$pkgname-${pkgver//_/-}"
cd "$pkgname-${pkgver//_/-}" || exit
make -k check
}
package() {
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$pkgname-${pkgver//_/-}"
cd "$pkgname-${pkgver//_/-}" || exit
install -Dm755 target/release/surreal "$pkgdir/usr/bin/surreal"
}