[arch-commits] Commit in lucky-commit/repos (2 files)

Orhun Parmaksiz orhun at gemini.archlinux.org
Sat Jul 10 21:13:50 UTC 2021


    Date: Saturday, July 10, 2021 @ 21:13:50
  Author: orhun
Revision: 976483

archrelease: copy trunk to community-x86_64

Added:
  lucky-commit/repos/community-x86_64/
  lucky-commit/repos/community-x86_64/PKGBUILD
    (from rev 976482, lucky-commit/trunk/PKGBUILD)

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

Copied: lucky-commit/repos/community-x86_64/PKGBUILD (from rev 976482, lucky-commit/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-07-10 21:13:50 UTC (rev 976483)
@@ -0,0 +1,33 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=lucky-commit
+_pkgname=lucky_commit
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="Customize your git commit hashes"
+arch=('x86_64')
+url="https://github.com/not-an-aardvark/lucky-commit"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('74279160df8290ab35990e84e77f7c0fe0dccfe37aaacf66aa2c81a27c72d2a1f704ccfd1b5c5f7be7edeb9cba4486e5e14b7c926342b4df22b3fc3c5848ca0b')
+
+build() {
+  cd "$pkgname-$pkgver"
+  cargo build --release --locked --no-default-features
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  cargo test --release --locked --no-default-features
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  install -Dm 755 "target/release/$_pkgname" -t "$pkgdir/usr/bin"
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm 644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:




More information about the arch-commits mailing list