[arch-commits] Commit in perl-anyevent-xmpp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:40:11 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:40:11
  Author: felixonmars
Revision: 658176

archrelease: copy trunk to community-staging-any

Added:
  perl-anyevent-xmpp/repos/community-staging-any/
  perl-anyevent-xmpp/repos/community-staging-any/PKGBUILD
    (from rev 658175, perl-anyevent-xmpp/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: perl-anyevent-xmpp/repos/community-staging-any/PKGBUILD (from rev 658175, perl-anyevent-xmpp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:40:11 UTC (rev 658176)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jakob Nixdorf <flocke at user-helfen-usern.de>
+
+pkgname=perl-anyevent-xmpp
+pkgver=0.55
+pkgrel=5
+pkgdesc="An implementation of the XMPP Protocol"
+arch=('any')
+depends=('perl>=5.10.0' 'perl-anyevent' 'perl-xml-parser' 'perl-digest-sha1'
+	 'perl-object-event' 'perl-authen-sasl' 'perl-net-libidn'
+	 'perl-xml-writer' 'perl-net-ssleay')
+license=('GPL' 'PerlArtistic')
+url="https://search.cpan.org/dist/AnyEvent-XMPP"
+options=('!emptydirs')
+replaces=('perl-net-xmpp2')
+source=(https://search.cpan.org/CPAN/authors/id/M/MS/MSTPLBG/AnyEvent-XMPP-$pkgver.tar.gz)
+md5sums=('0c23bd2905b593bc5d51e04b89410322')
+
+build() {
+  cd "$srcdir"/AnyEvent-XMPP-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/AnyEvent-XMPP-$pkgver
+  install -dm0755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -a samples "$pkgdir"/usr/share/doc/$pkgname/
+  make DESTDIR="$pkgdir" install
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name 'perllocal.pod' -delete
+}



More information about the arch-commits mailing list