[arch-commits] Commit in perl-www-sms/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:10:00 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:09:59
Author: foutrelis
Revision: 366675
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 366674, perl-www-sms/trunk/PKGBUILD)
perl-www-sms/repos/community-staging-any/perl-www-sms.install
(from rev 366674, perl-www-sms/trunk/perl-www-sms.install)
----------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
perl-www-sms.install | 12 ++++++++++++
2 files changed, 40 insertions(+)
Copied: perl-www-sms/repos/community-staging-any/PKGBUILD (from rev 366674, perl-www-sms/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:09:59 UTC (rev 366675)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-www-sms
+pkgver=0.09
+pkgrel=10
+pkgdesc="Perl/CPAN Module WWW::SMS : A Perl framework for sending SMS messages"
+arch=("any")
+url="http://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 366674, perl-www-sms/trunk/perl-www-sms.install)
===================================================================
--- community-staging-any/perl-www-sms.install (rev 0)
+++ community-staging-any/perl-www-sms.install 2018-08-01 12:09:59 UTC (rev 366675)
@@ -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