[arch-commits] Commit in libredefender/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sun Dec 19 17:56:24 UTC 2021
Date: Sunday, December 19, 2021 @ 17:56:24
Author: kpcyrd
Revision: 1079074
archrelease: copy trunk to community-x86_64
Added:
libredefender/repos/community-x86_64/PKGBUILD
(from rev 1079073, libredefender/trunk/PKGBUILD)
Deleted:
libredefender/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-19 17:56:04 UTC (rev 1079073)
+++ PKGBUILD 2021-12-19 17:56:24 UTC (rev 1079074)
@@ -1,52 +0,0 @@
-# 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:
Copied: libredefender/repos/community-x86_64/PKGBUILD (from rev 1079073, libredefender/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-19 17:56:24 UTC (rev 1079074)
@@ -0,0 +1,52 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=libredefender
+pkgver=0.5.0
+pkgrel=1
+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=('95c95565f21d16c503fb19175e820222bf53d28a477cd5abf80a176d396fccf9215be6f401ef42b7279dc0e22f16db86e645ad420e84b67474869a8747c5f4de'
+ '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