mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 21:40:31 +01:00
Compare commits
2 Commits
8c0112dd02
...
acaa67c52c
| Author | SHA1 | Date | |
|---|---|---|---|
| acaa67c52c | |||
| 5d5bdbcefa |
13
migrant/.SRCINFO
Normal file
13
migrant/.SRCINFO
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = migrant
|
||||||
|
pkgdesc = Basic database migration manager powered by migrant_lib
|
||||||
|
pkgver = 0.14.0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/jaemk/migrant
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = cargo
|
||||||
|
makedepends = git
|
||||||
|
source = git+https://github.com/jaemk/migrant#commit=846bfd7a5e2e52df92ce619246d4a1331ec5d515
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = migrant
|
||||||
37
migrant/PKGBUILD
Normal file
37
migrant/PKGBUILD
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
pkgname=migrant
|
||||||
|
pkgver=0.14.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Basic database migration manager powered by migrant_lib"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/jaemk/migrant"
|
||||||
|
license=('MIT')
|
||||||
|
|
||||||
|
# Uses native rust implementations of DB APIs
|
||||||
|
depends=()
|
||||||
|
|
||||||
|
makedepends=('cargo' 'git')
|
||||||
|
source=("git+https://github.com/jaemk/migrant#commit=846bfd7a5e2e52df92ce619246d4a1331ec5d515")
|
||||||
|
md5sums=('SKIP') # No checksums, git source
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname"
|
||||||
|
cargo fetch --locked
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$pkgname"
|
||||||
|
cargo build --locked --offline --release --features "postgres sqlite mysql"
|
||||||
|
}
|
||||||
|
|
||||||
|
# No tests included, so no check step
|
||||||
|
# check() {
|
||||||
|
# cd "$pkgname"
|
||||||
|
# cargo test
|
||||||
|
# }
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$pkgname"
|
||||||
|
install -Dm755 -t "$pkgdir/usr/bin" target/release/migrant
|
||||||
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/LICENSE" LICENSE
|
||||||
|
}
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
pkgbase = simdjson
|
pkgbase = simdjson
|
||||||
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
pkgdesc = A C++ library to see how fast we can parse JSON with complete validation.
|
||||||
pkgver = 2.2.2
|
pkgver = 3.0.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/simdjson/simdjson
|
url = https://github.com/simdjson/simdjson
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = APACHE
|
license = APACHE
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
source = simdjson-2.2.2.tar.gz::https://github.com/simdjson/simdjson/archive/v2.2.2.tar.gz
|
source = simdjson-3.0.0.tar.gz::https://github.com/simdjson/simdjson/archive/v3.0.0.tar.gz
|
||||||
sha256sums = b0e36beab240bd827c1103b4c66672491595930067871e20946d67b07758c010
|
sha256sums = e6dd4bfaad2fd9599e6a026476db39a3bb9529436d3508ac3ae643bc663526c5
|
||||||
|
|
||||||
pkgname = simdjson
|
pkgname = simdjson
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
pkgname=simdjson
|
pkgname=simdjson
|
||||||
pkgver=2.2.2
|
pkgver=3.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
pkgdesc="A C++ library to see how fast we can parse JSON with complete validation."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -9,7 +9,7 @@ license=('APACHE')
|
|||||||
depends=(gcc-libs)
|
depends=(gcc-libs)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/simdjson/simdjson/archive/v$pkgver.tar.gz")
|
||||||
sha256sums=('b0e36beab240bd827c1103b4c66672491595930067871e20946d67b07758c010')
|
sha256sums=('e6dd4bfaad2fd9599e6a026476db39a3bb9529436d3508ac3ae643bc663526c5')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|||||||
Reference in New Issue
Block a user