Date: Tuesday, June 29, 2021 @ 01:10:32
  Author: grawlinson
Revision: 967816

archrelease: copy trunk to community-testing-x86_64

Added:
  pijul/repos/community-testing-x86_64/
  pijul/repos/community-testing-x86_64/PKGBUILD
    (from rev 967815, pijul/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: pijul/repos/community-testing-x86_64/PKGBUILD (from rev 967815, 
pijul/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-06-29 01:10:32 UTC (rev 967816)
@@ -0,0 +1,23 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=pijul
+pkgver=1.0.0_alpha.48
+_pkgver=${pkgver/_/-}
+pkgrel=1
+pkgdesc="A sound and fast distributed version control system"
+url='https://pijul.org'
+makedepends=('cargo' 'clang' 'libsodium' 'gcc-libs')
+depends=('zstd' 'openssl' 'xxhash')
+arch=('x86_64')
+license=('GPL2')
+source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$_pkgver.crate";)
+b2sums=('9effd70ecb826b17329328de423f6a59b97108511e11ac821086850f1dc856e8b17cf31e8167598c6567bc95159e0672dd4e0834faea65244344be122725960a')
+
+build() {
+  cd "$pkgname-$_pkgver"
+  RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features 
--target-dir=target
+}
+
+package() {
+  install -vDm755 "$pkgname-$_pkgver/target/release/$pkgname" -t 
"$pkgdir/usr/bin"
+}

Reply via email to