[arch-commits] Commit in cargo-pgx/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Thu Dec 9 06:03:55 UTC 2021
Date: Thursday, December 9, 2021 @ 06:03:54
Author: grawlinson
Revision: 1065817
archrelease: copy trunk to community-x86_64
Added:
cargo-pgx/repos/community-x86_64/PKGBUILD
(from rev 1065816, 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-12-09 06:02:56 UTC (rev 1065816)
+++ PKGBUILD 2021-12-09 06:03:54 UTC (rev 1065817)
@@ -1,47 +0,0 @@
-# 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"
-}
Copied: cargo-pgx/repos/community-x86_64/PKGBUILD (from rev 1065816, cargo-pgx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-09 06:03:54 UTC (rev 1065817)
@@ -0,0 +1,47 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=cargo-pgx
+pkgver=0.2.6
+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=('52c95740e09951231b6f51eb49429ac721c67b6a6c0a07587985fb822f6e6337e359f32c19eaa54ce8b49222987d082880d35d8bf63f2c9289b734acd3d8f595'
+ '1567db39266597101bec59f782c50ba28fad860e29626eed187980e671f1ade38a9b3a33ea56fbcf6bdc27c0960db0ddf7e6064e3c12c6fef1e1eb2f1721c535')
+b2sums=('7f08c738eb9e2cdb65555937e8d6cae2109860c28e86dc2cf41ac0f4a36057a0ef65bfae87f37608b7f18630c3b1ad524a5f8e37475dab56b7747b28532b6ca3'
+ '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