[arch-commits] Commit in perl-www-sms/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 11:49:58 UTC 2019
Date: Saturday, May 25, 2019 @ 11:49:58
Author: foutrelis
Revision: 470517
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 470516, perl-www-sms/trunk/PKGBUILD)
perl-www-sms/repos/community-staging-any/perl-www-sms.install
(from rev 470516, 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 470516, perl-www-sms/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-05-25 11:49:58 UTC (rev 470517)
@@ -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=11
+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 470516, perl-www-sms/trunk/perl-www-sms.install)
===================================================================
--- community-staging-any/perl-www-sms.install (rev 0)
+++ community-staging-any/perl-www-sms.install 2019-05-25 11:49:58 UTC (rev 470517)
@@ -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