Mail archive
alpine-aports

[alpine-aports] [PATCH] main/perl-mail-spf: remove /usr/bin, /usr/sbin scripts because of conflict with /main/libspf library

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 14 Dec 2015 01:52:53 +0200

---
 main/perl-mail-spf/APKBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/main/perl-mail-spf/APKBUILD b/main/perl-mail-spf/APKBUILD
index 94dd3f8..b7f34e6 100644
--- a/main/perl-mail-spf/APKBUILD
+++ b/main/perl-mail-spf/APKBUILD
_at_@ -1,9 +1,10 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Contributor: Leonardo Arena <rnalrd_at_alpinelinux.org>
 # Maintainer:  Leonardo Arena <rnalrd_at_alpinelinux.org>
 pkgname=perl-mail-spf
 _realname=Mail-SPF
 pkgver=2.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc="An object-oriented implementation of Sender Policy Framework"
 url="http://search.cpan.org/~jmehnle/Mail-SPF-v2.006/"
 arch="noarch"
_at_@ -34,6 +35,9 @@ build() {
 package() {
 	cd "$_builddir"
 	make DESTDIR="$pkgdir" install
+	mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl
+	rm -fr "$pkgdir"/usr/share/perl5
+	rm -fr "$pkgdir"/usr/bin "$pkgdir"/usr/sbin
 }
 
 md5sums="664e20d79c87fa505080f362e827dace  Mail-SPF-v2.9.0.tar.gz"
-- 
2.6.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Dec 14 2015 - 01:52:53 GMT