[arch-commits] Commit in perl-www-sms/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 11:27:30 UTC 2021
Date: Monday, May 24, 2021 @ 11:27:30
Author: felixonmars
Revision: 944477
archrelease: copy trunk to community-staging-any
Added:
perl-www-sms/repos/community-staging-any/
perl-www-sms/repos/community-staging-any/PKGBUILD
(from rev 944473, perl-www-sms/trunk/PKGBUILD)
perl-www-sms/repos/community-staging-any/perl-www-sms.install
(from rev 944473, perl-www-sms/trunk/perl-www-sms.install)
----------------------+
PKGBUILD | 27 +++++++++++++++++++++++++++
perl-www-sms.install | 12 ++++++++++++
2 files changed, 39 insertions(+)
Copied: perl-www-sms/repos/community-staging-any/PKGBUILD (from rev 944473, perl-www-sms/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:27:30 UTC (rev 944477)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-www-sms
+pkgver=0.09
+pkgrel=13
+pkgdesc="Perl/CPAN Module WWW::SMS : A Perl framework for sending SMS messages"
+arch=("any")
+url="https://search.cpan.org/dist/WWW-SMS/"
+license=("GPL" "PerlArtistic")
+depends=(perl)
+install=perl-www-sms.install
+source=("https://www.cpan.org/authors/id/E/EI/EIM/WWW-SMS/WWW-SMS-$pkgver.tar.gz")
+sha256sums=('01b2ec2e49a5fa8a87203ad5507abb14e83ebd824c62efaf85f6cec79529ea65')
+
+build() {
+ cd "$srcdir"/WWW-SMS-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/WWW-SMS-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
Copied: perl-www-sms/repos/community-staging-any/perl-www-sms.install (from rev 944473, perl-www-sms/trunk/perl-www-sms.install)
===================================================================
--- community-staging-any/perl-www-sms.install (rev 0)
+++ community-staging-any/perl-www-sms.install 2021-05-24 11:27:30 UTC (rev 944477)
@@ -0,0 +1,12 @@
+post_install() {
+ echo ">>>"
+ echo ">>> WARNING"
+ echo ">>> -------"
+ echo ">>> If you use French gateway submodule (SFR.pm) you"
+ echo ">>> have to install the optional perl-date-manip package."
+ echo ">>>"
+}
+
+post_upgrade() {
+ post_install $1
+}
More information about the arch-commits
mailing list