[arch-commits] Commit in maturin (trunk trunk/PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sun Mar 29 03:46:09 UTC 2020


    Date: Sunday, March 29, 2020 @ 03:46:09
  Author: demize
Revision: 605874

upgpkg: maturin 0.7.9-1

Added:
  maturin/trunk/
  maturin/trunk/PKGBUILD

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2020-03-29 03:46:09 UTC (rev 605874)
@@ -0,0 +1,24 @@
+pkgname=maturin
+pkgver=0.7.9
+pkgrel=1
+
+pkgdesc="Build and publish crates with pyo3, rust-cpython and cffi bindings"
+url="https://github.com/PyO3/maturin"
+arch=(x86_64)
+license=(Apache)
+
+depends=(rust)
+makedepends=(git)
+
+source=(git+https://github.com/PyO3/maturin#tag=v$pkgver)
+sha256sums=(SKIP)
+
+build() {
+  cd maturin
+  cargo build --release --locked --all-features
+}
+
+package() {
+  cd maturin
+  install -Dm755 target/release/maturin "$pkgdir"/usr/bin/maturin
+}



More information about the arch-commits mailing list