Date: Wednesday, April 20, 2022 @ 03:55:21 Author: grawlinson Revision: 1187107
archrelease: copy trunk to community-x86_64 Added: cargo-pgx/repos/community-x86_64/PKGBUILD (from rev 1187106, cargo-pgx/trunk/PKGBUILD) Deleted: cargo-pgx/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-20 03:53:42 UTC (rev 1187106) +++ PKGBUILD 2022-04-20 03:55:21 UTC (rev 1187107) @@ -1,49 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> - -pkgname=cargo-pgx -pkgver=0.4.2 -pkgrel=1 -pkgdesc="Build PostgreSQL extensions with Rust" -arch=('x86_64') -url="https://github.com/tcdi/pgx" -license=('MIT') -depends=('gcc-libs' 'openssl' 'clang' 'llvm' 'bzip2') -optdepends=( - 'postgresql: to compile with system postgresql' -) -makedepends=('git' 'rust') -options=('!lto') -_commit='7163fe2437f8305b57e461697005d48de3526bbb' -source=("$pkgname::git+$url.git#commit=$_commit") -b2sums=('SKIP') - -pkgver() { - cd "$pkgname" - - git describe --tags | sed 's/^v//' -} - -prepare() { - cd "$pkgname" - - # download dependencies - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname" - cargo build --release --frozen --package cargo-pgx -} - -package() { - cd "$pkgname" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname" - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: cargo-pgx/repos/community-x86_64/PKGBUILD (from rev 1187106, cargo-pgx/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-20 03:55:21 UTC (rev 1187107) @@ -0,0 +1,49 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> + +pkgname=cargo-pgx +pkgver=0.4.3 +pkgrel=1 +pkgdesc="Build PostgreSQL extensions with Rust" +arch=('x86_64') +url="https://github.com/tcdi/pgx" +license=('MIT') +depends=('gcc-libs' 'openssl' 'clang' 'llvm' 'bzip2') +optdepends=( + 'postgresql: to compile with system postgresql' +) +makedepends=('git' 'rust') +options=('!lto') +_commit='c4ce4b9a5d74d589345fe95f3175a9e656dc6b3f' +source=("$pkgname::git+$url.git#commit=$_commit") +b2sums=('SKIP') + +pkgver() { + cd "$pkgname" + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd "$pkgname" + + # download dependencies + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname" + cargo build --release --frozen --package cargo-pgx +} + +package() { + cd "$pkgname" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname" + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +}