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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:06:20 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:06:20
  Author: felixonmars
Revision: 659116

archrelease: copy trunk to community-staging-any

Added:
  swaks/repos/community-staging-any/
  swaks/repos/community-staging-any/PKGBUILD
    (from rev 659115, swaks/trunk/PKGBUILD)

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

Copied: swaks/repos/community-staging-any/PKGBUILD (from rev 659115, swaks/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 16:06:20 UTC (rev 659116)
@@ -0,0 +1,29 @@
+# Maintainer: Florian Pritz <flo at xinu.at>
+# Contributor: Testuser_01 <mail at nico-siebler.de>
+
+pkgname=swaks
+pkgver=20190914.0
+pkgrel=2
+pkgdesc='Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH'
+arch=('any')
+url="https://jetmore.org/john/code/${pkgname}/"
+license=('GPL')
+depends=('perl-net-dns' 'perl-net-ssleay')
+source=("https://jetmore.org/john/code/${pkgname}/files/${pkgname}-${pkgver}.tar.gz")
+md5sums=('20e4986476af66923396eaeafb7e2727')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # fix perl 5.18 breakage
+  sed -i 's#^=item \([0-9]\+\)$#=item C<\1>#' doc/ref.pod
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  install -m755 -D "${pkgname}" "$pkgdir/usr/bin/${pkgname}"
+  cd doc
+  pod2man ref.pod "${pkgname}.1"
+  install -m644 -D "${pkgname}.1" "$pkgdir/usr/share/man/man1/${pkgname}.1"
+}
+



More information about the arch-commits mailing list