aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-15 08:05:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-15 08:05:10 +0000
commit04c64d6f885edb1913cc6ce35708e5e96b0490dd (patch)
treeb6320153661e9534682fdb22a85de07e5e27942c
parentd6fb7e9381785b7475d39122179efc6db1b94ea2 (diff)
downloadaports-04c64d6f885edb1913cc6ce35708e5e96b0490dd.tar.bz2
aports-04c64d6f885edb1913cc6ce35708e5e96b0490dd.tar.xz
main/clamav: let abuild handle libs subpackage
-rw-r--r--main/clamav/APKBUILD13
1 files changed, 2 insertions, 11 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 7b0b1a7f85..f935bab1b2 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.100.0
-pkgrel=1
+pkgrel=2
pkgusers="clamav"
pkggroups="clamav"
pkgdesc="An anti-virus toolkit for UNIX eis-ng backport"
@@ -17,7 +17,7 @@ install="freshclam.pre-install
clamav-daemon.pre-install clamav-daemon.pre-upgrade"
makedepends="ncurses-dev zlib-dev bzip2-dev pcre-dev linux-headers $depends_dev
libmilter-dev fts-dev"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-lib $pkgname-libunrar
+subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-libunrar
$pkgname-daemon $pkgname-scanner $pkgname-db::noarch freshclam
$pkgname-daemon-openrc:daemon_rc:noarch freshclam-openrc:freshclam_rc:noarch
$pkgname-milter"
@@ -112,15 +112,6 @@ check() {
make check
}
-lib() {
- pkgdesc="ClamAV library"
- replaces="clamav"
- depends=
- mkdir -p "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/libclamav.so.* \
- "$subpkgdir"/usr/lib/
-}
-
libunrar() {
pkgdesc="ClamAV unrar libraries"
replaces="clamav"