diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-24 23:46:43 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-24 23:46:47 -0300 |
commit | f10529158c9d8d75fe00ae5962f6474d2a64d614 (patch) | |
tree | aa05fccb4b5ae5e3664116c67f3f99c95e751c8d /libre/clamav | |
parent | e3f59b2972f4171d58630eb078667d72a11d719f (diff) | |
download | abslibre-f10529158c9d8d75fe00ae5962f6474d2a64d614.tar.gz abslibre-f10529158c9d8d75fe00ae5962f6474d2a64d614.tar.bz2 abslibre-f10529158c9d8d75fe00ae5962f6474d2a64d614.zip |
clamav-0.98.7-2.parabola2: unnecessary stuff and nonfree references should be removed by us from packaging instead of librefetch
Diffstat (limited to 'libre/clamav')
-rw-r--r-- | libre/clamav/PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/libre/clamav/PKGBUILD b/libre/clamav/PKGBUILD index fbd3ba5fe..2135bf74c 100644 --- a/libre/clamav/PKGBUILD +++ b/libre/clamav/PKGBUILD @@ -1,14 +1,15 @@ -# $Id$ +# $Id: PKGBUILD 240713 2015-06-13 00:26:50Z bisson $ # Contributor (Arch): Dale Blount <dale@archlinux.org> # Contributor (Arch): Gregor Ibic <gregor.ibic@intelicom.si> # Maintainer (Arch): Gaetan Bisson <bisson@archlinux.org> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# Contributor: André Silva <emulatorman@parabola.nu> _pkgname=clamav-libre pkgname=clamav pkgver=0.98.7 -pkgrel=2.parabola1 -pkgdesc='Anti-virus toolkit for Unix' +pkgrel=2.parabola2 +pkgdesc='Anti-virus toolkit for Unix, without nonfree decompression engine for RAR archives' url='http://www.clamav.net/' license=('GPL') arch=('i686' 'x86_64') @@ -24,8 +25,9 @@ source=("https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz 'freshclam.conf' 'clamd.service' 'freshclamd.service') -mksha1sums=('c9793d67c041e2b944116d912f8681c8bd6e4432' 'SKIP') -sha1sums=('a087b700b20ee6f1723c9975b1e361e4cea1cb46' +mksha1sums=('c9793d67c041e2b944116d912f8681c8bd6e4432' + 'SKIP') +sha1sums=('d622c60f8fc4c639cd55beef9078b356c103571f' 'bb488a56b0f6a0760446cde89c1e3321e2717b78' 'a224ea9b4d0f4f196827347d54bed51e11c197ea' '887f624eb305f2446f55d8339e2972ad0cfe2b79' @@ -41,12 +43,17 @@ install=install mksource() { cd "${srcdir}/${pkgname}-${pkgver}" - - #Removing libclamunrar and unrar license (nonfree) + msg2 "remove nonfree unRAR utility files from the source" rm -rv libclamunrar rm -v COPYING.unrar +} + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + msg2 "remove nonfree unRAR references" + rm -rv libclamunrar_iface - #Removing unnecessary win32 folder + msg2 "remove unnecessary win32 folder" rm -rv win32 } |