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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 17:45:35 UTC 2017


    Date: Saturday, August 26, 2017 @ 17:45:34
  Author: felixonmars
Revision: 254237

archrelease: copy trunk to community-staging-any

Added:
  clamtk/repos/community-staging-any/
  clamtk/repos/community-staging-any/PKGBUILD
    (from rev 254233, clamtk/trunk/PKGBUILD)

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

Copied: clamtk/repos/community-staging-any/PKGBUILD (from rev 254233, clamtk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 17:45:34 UTC (rev 254237)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Blaž Tomažič <blaz.tomazic at gmail.com>
+
+pkgname=clamtk
+pkgver=5.24
+pkgrel=3
+pkgdesc='Easy to use, light-weight, on-demand virus scanner for Linux systems'
+url='https://dave-theunsub.github.io/clamtk/'
+arch=('any')
+license=('GPL')
+depends=('clamav' 'perl' 'gtk2-perl' 'perl-locale-gettext' 'perl-libwww' 'perl-http-message'
+         'perl-lwp-protocol-https' 'perl-text-csv' 'perl-json' 'python' 'zenity' 'desktop-file-utils'
+         'gnome-icon-theme' 'cron')
+source=(https://bitbucket.org/dave_theunsub/clamtk/downloads/clamtk-${pkgver}.tar.gz{,.asc})
+sha512sums=('e5d03bdfb13165ccd84989d06a864629898c0edfbf3630c4110b220d01e363d53a86b01db8b7bc3021ae6271638d2d7a0a352ec65c872e61570c8cb44c5effb2'
+            'SKIP')
+validpgpkeys=('5DD47B3B121EE5C354A20305F51D19546ADA59DE') # Dave Mauroni <dave.nerd at gmail.com>
+
+package() {
+  cd ${pkgname}-${pkgver}
+
+  install -Dm 755 clamtk -t "${pkgdir}/usr/bin"
+  for f in lib/* ; do
+	  install -Dm 644 ${f} "${pkgdir}/usr/lib/perl5/vendor_perl/ClamTk/`basename ${f}`"
+  done
+
+  for f in po/*.mo ; do
+	  install -Dm 644 "${f}" "${pkgdir}/usr/share/locale/`basename ${f} .mo`/LC_MESSAGES/clamtk.mo"
+  done
+
+  install -Dm 644 clamtk.1.gz -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 CHANGES DISCLAIMER README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  install -Dm 644 images/clamtk.{xpm,png} -t "${pkgdir}/usr/share/pixmaps"
+  install -Dm 644 clamtk.desktop -t "${pkgdir}/usr/share/applications"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list