mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
update pkgbuild to make source package
This commit is contained in:
parent
af6f14db67
commit
b166c5d66e
2 changed files with 36 additions and 22 deletions
15
.SRCINFO
15
.SRCINFO
|
|
@ -1,19 +1,20 @@
|
|||
pkgbase = tinyetl
|
||||
pkgdesc = Fast, zero-config ETL in a single binary
|
||||
pkgver = 0.7.0
|
||||
pkgver = 0.10.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/alrpal/TinyETL
|
||||
arch = x86_64
|
||||
license = Apache-2.0
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = rust
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = openssl
|
||||
depends = unixodbc
|
||||
conflicts = tinyetl-bin
|
||||
options = !lto
|
||||
options = !debug
|
||||
source_x86_64 = tinyetl-0.7.0.tar.gz::https://github.com/alrpal/TinyETL/releases/download/v0.7.0/tinyetl-linux-x86_64.tar.gz
|
||||
source_x86_64 = https://raw.githubusercontent.com/alrpal/TinyETL/refs/tags/v0.7.0/LICENSE
|
||||
provides_x86_64 = TinyETL=0.7.0
|
||||
sha256sums_x86_64 = 7000899638d62f992b07e87b41d576d697fd2011f690b77f9efe37263afc7c35
|
||||
sha256sums_x86_64 = 91d18da4d08bc2712c854a5d200b85cd6ee90351d898b221785a820646e02116
|
||||
source = tinyetl-0.10.0.tar.gz::https://github.com/alrpal/TinyETL/archive/v0.10.0.tar.gz
|
||||
sha512sums = d566a6e7714db4a0f0c3170140f8eb5adb7d1cbf330efb8225e359f6c1899fc745ac0398b6c884d1ab56c6605b517ba6e9c22d1496d6585cc664c92e94cd9faf
|
||||
|
||||
pkgname = tinyetl
|
||||
|
|
|
|||
43
PKGBUILD
43
PKGBUILD
|
|
@ -1,24 +1,37 @@
|
|||
# Maintainer: novica <nnovica@gmail.com>
|
||||
|
||||
pkgname=tinyetl
|
||||
pkgver=0.7.0
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, zero-config ETL in a single binary"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/alrpal/TinyETL"
|
||||
license=('Apache-2.0')
|
||||
depends=('gcc-libs' 'glibc' 'openssl' 'unixodbc')
|
||||
options=('!debug')
|
||||
provides_x86_64=("TinyETL=${pkgver}")
|
||||
source_x86_64=("${pkgname}-${pkgver}.tar.gz::https://github.com/alrpal/TinyETL/releases/download/v${pkgver}/tinyetl-linux-$CARCH.tar.gz"
|
||||
"https://raw.githubusercontent.com/alrpal/TinyETL/refs/tags/v${pkgver}/LICENSE")
|
||||
sha256sums_x86_64=('7000899638d62f992b07e87b41d576d697fd2011f690b77f9efe37263afc7c35'
|
||||
'91d18da4d08bc2712c854a5d200b85cd6ee90351d898b221785a820646e02116')
|
||||
arch=('x86_64' 'aarch64')
|
||||
license=('MIT')
|
||||
depends=(
|
||||
gcc-libs
|
||||
glibc
|
||||
openssl
|
||||
unixodbc)
|
||||
conflicts=('tinyetl-bin')
|
||||
optdepends=()
|
||||
makedepends=('rust')
|
||||
options=('!lto' '!debug')
|
||||
source=("tinyetl-${pkgver}.tar.gz::https://github.com/alrpal/TinyETL/archive/v${pkgver}.tar.gz")
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/TinyETL-${pkgver}"
|
||||
cargo fetch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/TinyETL-${pkgver}"
|
||||
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
|
||||
# Move the binary from the temporary install directory to the final location
|
||||
install -Dm755 "$srcdir/tinyetl" "$pkgdir/usr/bin/tinyetl"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm755 "${srcdir}/TinyETL-${pkgver}/target/release/tinyetl" "${pkgdir}/usr/bin/tinyetl"
|
||||
install -Dm644 "${srcdir}/TinyETL-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
||||
sha512sums=('d566a6e7714db4a0f0c3170140f8eb5adb7d1cbf330efb8225e359f6c1899fc745ac0398b6c884d1ab56c6605b517ba6e9c22d1496d6585cc664c92e94cd9faf')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue