Date: Monday, October 11, 2021 @ 13:41:25
  Author: arodseth
Revision: 1029464

archrelease: copy trunk to community-x86_64

Added:
  dunesh/repos/community-x86_64/PKGBUILD
    (from rev 1029463, dunesh/trunk/PKGBUILD)

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

Copied: dunesh/repos/community-x86_64/PKGBUILD (from rev 1029463, 
dunesh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-10-11 13:41:25 UTC (rev 1029464)
@@ -0,0 +1,25 @@
+# Maintainer: Alexander F. Rødseth <[email protected]>
+
+pkgname=dunesh
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='The cozy shell'
+arch=(x86_64)
+url='https://github.com/adam-mcdaniel/dune'
+license=(APACHE)
+makedepends=(git rust)
+# No release tarballs or git tags are available yet. Currently using the 
latest commit at 2021-10-11.
+# Related comment: 
https://github.com/adam-mcdaniel/dune/issues/29#issuecomment-940023556
+source=("git+$url#commit=5f96530bf4f3e55274f5a430d1919d5edc933829")
+b2sums=(SKIP)
+
+build() {
+  cargo build --manifest-path dune/Cargo.toml --release
+}
+
+package() {
+  install -Dm755 dune/target/release/$pkgname \
+    "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 dune/LICENSE \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to