[arch-commits] Commit in libredefender/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Wed Nov 10 16:51:35 UTC 2021


    Date: Wednesday, November 10, 2021 @ 16:51:34
  Author: kpcyrd
Revision: 1039899

archrelease: copy trunk to community-x86_64

Added:
  libredefender/repos/community-x86_64/PKGBUILD
    (from rev 1039898, libredefender/trunk/PKGBUILD)
Deleted:
  libredefender/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 16:51:20 UTC (rev 1039898)
+++ PKGBUILD	2021-11-10 16:51:34 UTC (rev 1039899)
@@ -1,52 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=libredefender
-pkgver=0.4.0
-pkgrel=1
-pkgdesc='Light-weight antivirus scanner for Linux'
-url='https://github.com/kpcyrd/libredefender'
-arch=('x86_64')
-license=('GPL2')
-depends=('clamav' 'hicolor-icon-theme')
-makedepends=('cargo' 'clang')
-source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-        https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
-b2sums=('ae67c49a464d33249f1d11bd32eaa827c0f1410021ce5638eda8a522d0ec70100b07d817559bbda6ba6e90cb6c3f55824b763076e8b7cf5c81f25a29dee95d9a'
-        'SKIP')
-
-validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  cargo build --frozen --release
-}
-
-check() {
-  cd ${pkgname}-${pkgver}
-  cargo test --frozen
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 -t "${pkgdir}/usr/bin" \
-    target/release/libredefender
-
-  # install completions
-  install -d "${pkgdir}/usr/share/bash-completion/completions" \
-             "${pkgdir}/usr/share/zsh/site-functions" \
-             "${pkgdir}/usr/share/fish/vendor_completions.d"
-  "${pkgdir}/usr/bin/libredefender" completions bash > "${pkgdir}/usr/share/bash-completion/completions/libredefender"
-  "${pkgdir}/usr/bin/libredefender" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_libredefender"
-  "${pkgdir}/usr/bin/libredefender" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/libredefender.fish"
-
-  install -Dm 644 contrib/libredefender.desktop -t "${pkgdir}/etc/xdg/autostart"
-  install -Dm 644 contrib/icon.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
-  install -Dm 644 LICENSE-* -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: libredefender/repos/community-x86_64/PKGBUILD (from rev 1039898, libredefender/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-10 16:51:34 UTC (rev 1039899)
@@ -0,0 +1,52 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=libredefender
+pkgver=0.4.0
+pkgrel=2
+pkgdesc='Light-weight antivirus scanner for Linux'
+url='https://github.com/kpcyrd/libredefender'
+arch=('x86_64')
+license=('GPL2')
+depends=('libclamav.so' 'hicolor-icon-theme')
+makedepends=('cargo' 'clang')
+source=(https://github.com/kpcyrd/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        https://github.com/kpcyrd/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc)
+b2sums=('ae67c49a464d33249f1d11bd32eaa827c0f1410021ce5638eda8a522d0ec70100b07d817559bbda6ba6e90cb6c3f55824b763076e8b7cf5c81f25a29dee95d9a'
+        'SKIP')
+
+validpgpkeys=("64B13F7117D6E07D661BBCE0FE763A64F5E54FD6")
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --frozen --release
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  cargo test --frozen
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 -t "${pkgdir}/usr/bin" \
+    target/release/libredefender
+
+  # install completions
+  install -d "${pkgdir}/usr/share/bash-completion/completions" \
+             "${pkgdir}/usr/share/zsh/site-functions" \
+             "${pkgdir}/usr/share/fish/vendor_completions.d"
+  "${pkgdir}/usr/bin/libredefender" completions bash > "${pkgdir}/usr/share/bash-completion/completions/libredefender"
+  "${pkgdir}/usr/bin/libredefender" completions zsh > "${pkgdir}/usr/share/zsh/site-functions/_libredefender"
+  "${pkgdir}/usr/bin/libredefender" completions fish > "${pkgdir}/usr/share/fish/vendor_completions.d/libredefender.fish"
+
+  install -Dm 644 contrib/libredefender.desktop -t "${pkgdir}/etc/xdg/autostart"
+  install -Dm 644 contrib/icon.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
+  install -Dm 644 LICENSE-* -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list