summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/clamav/PKGBUILD23
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
}