[arch-commits] Commit in cargo-pgx/repos/community-x86_64 (PKGBUILD PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Fri Nov 19 23:57:38 UTC 2021


    Date: Friday, November 19, 2021 @ 23:57:38
  Author: grawlinson
Revision: 1052816

archrelease: copy trunk to community-x86_64

Added:
  cargo-pgx/repos/community-x86_64/PKGBUILD
    (from rev 1052815, cargo-pgx/trunk/PKGBUILD)
Deleted:
  cargo-pgx/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-19 23:56:52 UTC (rev 1052815)
+++ PKGBUILD	2021-11-19 23:57:38 UTC (rev 1052816)
@@ -1,47 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=cargo-pgx
-pkgver=0.2.4
-pkgrel=2
-pkgdesc="Build PostgreSQL extensions with Rust"
-arch=('x86_64')
-url="https://github.com/zombodb/pgx"
-license=('MIT')
-depends=('gcc-libs' 'openssl' 'clang' 'llvm' 'bzip2')
-optdepends=(
-  'postgresql: to compile with system postgresql'
-)
-makedepends=('rust')
-source=(
-  "$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate"
-  "https://raw.githubusercontent.com/zombodb/pgx/v$pkgver/LICENSE"
-)
-sha512sums=('57502586ce8012e86da1cf4ad18c49a9723e616db44f78be9d90cd344dba0bdc63387b558a979afe80646f194df48f1f5b9c24d4d9d863460677f70a5f746391'
-            '1567db39266597101bec59f782c50ba28fad860e29626eed187980e671f1ade38a9b3a33ea56fbcf6bdc27c0960db0ddf7e6064e3c12c6fef1e1eb2f1721c535')
-b2sums=('c42b1e471bc87727d4c3ad735a4851f8b009541af7c9b3ad3b20054c0cf2e5a8b4175bd55bb4cb0f59b6bd6530f87060544f665e15d8751e6bad016956ee0c27'
-        '2cab3447814cebb834e21e3db43ac2dd42bd0ca064d304120ecf5d4f831b90dcd7fe5f9ddc10983e5f362689258d5af0ee4abedfcbf87f52ff31fe697511f165')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # download dependencies
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  cargo build --release --frozen
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  # 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" "$srcdir/LICENSE"
-}

Copied: cargo-pgx/repos/community-x86_64/PKGBUILD (from rev 1052815, cargo-pgx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-19 23:57:38 UTC (rev 1052816)
@@ -0,0 +1,47 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=cargo-pgx
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="Build PostgreSQL extensions with Rust"
+arch=('x86_64')
+url="https://github.com/zombodb/pgx"
+license=('MIT')
+depends=('gcc-libs' 'openssl' 'clang' 'llvm' 'bzip2')
+optdepends=(
+  'postgresql: to compile with system postgresql'
+)
+makedepends=('rust')
+source=(
+  "$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate"
+  "https://raw.githubusercontent.com/zombodb/pgx/v$pkgver/LICENSE"
+)
+sha512sums=('94d447d2ee6381f54684d6201c9e9f18cb2e14f77bd641265a3d2c8c5e2e62bd56bf7e3bef951ccb4964e311f73761e8a896b4496166c81d07d315486dc7645b'
+            '1567db39266597101bec59f782c50ba28fad860e29626eed187980e671f1ade38a9b3a33ea56fbcf6bdc27c0960db0ddf7e6064e3c12c6fef1e1eb2f1721c535')
+b2sums=('009ea57db159663bdb89db8a5687a053bedb070ee1559e2082e311768662e1d17d83e1bad91b86ff6ddf561950cb62772aa31a2c210dee3129e49688cc622885'
+        '2cab3447814cebb834e21e3db43ac2dd42bd0ca064d304120ecf5d4f831b90dcd7fe5f9ddc10983e5f362689258d5af0ee4abedfcbf87f52ff31fe697511f165')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # download dependencies
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --frozen
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  # 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" "$srcdir/LICENSE"
+}



More information about the arch-commits mailing list