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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:31:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:31:52
  Author: felixonmars
Revision: 659286

archrelease: copy trunk to community-staging-any

Added:
  findmyhash/repos/community-staging-any/
  findmyhash/repos/community-staging-any/PKGBUILD
    (from rev 659285, findmyhash/trunk/PKGBUILD)

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

Copied: findmyhash/repos/community-staging-any/PKGBUILD (from rev 659285, findmyhash/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:31:52 UTC (rev 659286)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Mauro Andreolini <mauro.andreolini at unimore.it>
+
+pkgname=findmyhash
+pkgver=1.1.2
+pkgrel=6
+pkgdesc="Crack different types of hashes using free online services"
+arch=('any')
+url="https://code.google.com/archive/p/findmyhash/"
+license=('GPL3')
+depends=('python2-httplib2')
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/findmyhash/${pkgname}_v${pkgver}.py")
+sha512sums=('19aeec248a7512a6b4789b4ab9e3732dbba7a237f6836df2737d3c5f7a8d5efa47dbaebcb28eb9b85acb1c47e3b2a178103460abcbfe1af646b3daedf7f7786b')
+
+prepare() {
+  sed -i '1i#!/usr/bin/env python2' ${pkgname}_v${pkgver}.py
+}
+
+package() {
+  install -Dm755 ${pkgname}_v${pkgver}.py "$pkgdir"/usr/bin/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list