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

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Mar 19 08:25:17 UTC 2021


    Date: Friday, March 19, 2021 @ 08:25:17
  Author: svenstaro
Revision: 894543

archrelease: copy trunk to community-x86_64

Added:
  genact/repos/community-x86_64/
  genact/repos/community-x86_64/PKGBUILD
    (from rev 894542, genact/trunk/PKGBUILD)

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

Copied: genact/repos/community-x86_64/PKGBUILD (from rev 894542, genact/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-03-19 08:25:17 UTC (rev 894543)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=genact
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="A nonsense activity generator"
+url="https://github.com/svenstaro/genact"
+arch=("x86_64")
+license=("MIT")
+depends=('gcc-libs')
+makedepends=("rust")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/svenstaro/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('23585623161b3825c6e858001ef042e5fdb17141e3bbd60060667bad9fea5e2a08bc6e226dfb706ae5d0ce8265eafc7bb80ff44715ca6c7cbb89937da28a7b1b')
+
+build() {
+    cd "$srcdir/$pkgname-$pkgver"
+    cargo build --release --locked
+}
+
+package() {
+    cd "$srcdir/$pkgname-$pkgver"
+    install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+    install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list