Date: Saturday, January 18, 2020 @ 20:06:07
  Author: kpcyrd
Revision: 553086

archrelease: copy trunk to community-x86_64

Added:
  findomain/repos/community-x86_64/
  findomain/repos/community-x86_64/PKGBUILD
    (from rev 553085, findomain/trunk/PKGBUILD)

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

Copied: findomain/repos/community-x86_64/PKGBUILD (from rev 553085, 
findomain/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2020-01-18 20:06:07 UTC (rev 553086)
@@ -0,0 +1,36 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Eduard Tolosa <edu4rd...@protonmail.com>
+
+pkgname=findomain
+pkgver=0.9.6
+pkgrel=1
+pkgdesc='The fastest and cross-platform subdomain enumerator, do not waste 
your time'
+url='https://github.com/Edu4rdSHL/findomain'
+arch=('x86_64')
+license=('GPL3')
+depends=('gcc-libs')
+makedepends=('cargo')
+optdepends=('postgresql: for subdomain monitoring')
+source=("https://github.com/Edu4rdSHL/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('ffcab156489caa05e40306e5e18cac3e66547eea969343d2c265f04107257112104979fa0bbc2ca23777ef13ed9b1eb8605e5e81d5c867170eddbc98cd83b4d1')
+b2sums=('3007bed1f3af6dd00ece7c6850f5a7c8809347f83dde0b8eec6f4387e8ec88e44cacbe0b36bc654e93d98f87cc0a7b467ccdd2a8c46e347de67d464816a5e2a0')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --release --locked
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --release --locked
+}
+
+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 "${pkgname}.1" -t "${pkgdir}/usr/share/man/man1"
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to