summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-30 16:57:26 +0400
committerAnton Leontiev2015-02-15 07:48:18 +0300
commit7976e73868e13bf1c7b657f001c5cc77c0b1690e (patch)
tree94cc4581e90de9ceb9878921657129c111db6727
parent559cae6d5076d412a091620df2530fdaca5c1f02 (diff)
downloadaur-7976e73868e13bf1c7b657f001c5cc77c0b1690e.tar.gz
Updated to v0.814
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
-rw-r--r--PKGBUILD.tt33
3 files changed, 57 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b32217ee3a..613a1ceeafd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,18 @@
pkgbase = perl-email-foldertype
pkgdesc = Perl module to determine the type of a mail folder
- pkgver = 0.813
+ pkgver = 0.814
pkgrel = 1
- url = http://search.cpan.org/dist/Email-FolderType/
+ url = http://search.cpan.org/dist/Email-FolderType
arch = any
- license = GPL
license = PerlArtistic
+ license = GPL
+ checkdepends = perl>=5.13.4
+ checkdepends = perl-capture-tiny
depends = perl>=5.8.9
+ depends = perl-email-simple
options = !emptydirs
- source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-FolderType-0.813.tar.gz
- md5sums = 4d33367e38ec1548737c15ccd200f18c
+ source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-FolderType-0.814.tar.gz
+ md5sums = 952aad6ab391737932dc32c6e5c17d26
pkgname = perl-email-foldertype
diff --git a/PKGBUILD b/PKGBUILD
index 8faefa809d2..f97dfc00495 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,33 @@
+# CPAN Name : Email::FolderType
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Generator : CPANPLUS::Dist::Arch 1.25
+
pkgname=perl-email-foldertype
-pkgver=0.813
+pkgver=0.814
pkgrel=1
-pkgdesc="Perl module to determine the type of a mail folder"
-arch=("any")
-url="http://search.cpan.org/dist/Email-FolderType/"
-license=("GPL" "PerlArtistic")
-depends=("perl>=5.8.9")
+pkgdesc='Perl module to determine the type of a mail folder'
+arch=('any')
+url='http://search.cpan.org/dist/Email-FolderType'
+license=('PerlArtistic' 'GPL')
+depends=('perl>=5.8.9' 'perl-email-simple')
+checkdepends=('perl>=5.13.4' 'perl-capture-tiny')
+source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-FolderType-0.814.tar.gz)
options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-FolderType-$pkgver.tar.gz)
-md5sums=("4d33367e38ec1548737c15ccd200f18c")
+md5sums=('952aad6ab391737932dc32c6e5c17d26')
build() {
- cd "$srcdir/Email-FolderType-$pkgver"
+ cd Email-FolderType-0.814
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
-check() {
- cd "$srcdir/Email-FolderType-$pkgver"
+check() {
+ cd Email-FolderType-0.814
make test
}
package() {
- cd "$srcdir/Email-FolderType-$pkgver"
+ cd Email-FolderType-0.814
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
diff --git a/PKGBUILD.tt b/PKGBUILD.tt
new file mode 100644
index 00000000000..f2b12874448
--- /dev/null
+++ b/PKGBUILD.tt
@@ -0,0 +1,33 @@
+# CPAN Name : Email::FolderType
+# Contributor: [% packager %]
+# Generator : CPANPLUS::Dist::Arch [% version %]
+
+pkgname=[% pkgname %]
+pkgver=[% pkgver %]
+pkgrel=[% pkgrel %]
+pkgdesc='Perl module to determine the type of a mail folder'
+arch=('any')
+url='[% url %]'
+license=('PerlArtistic' 'GPL')
+depends=('perl>=5.8.9' 'perl-email-simple')
+checkdepends=('perl>=5.13.4' 'perl-capture-tiny')
+source=([% source %])
+options=(!emptydirs)
+md5sums=('[% md5sums %]')
+
+build() {
+ cd [% distdir %]
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd [% distdir %]
+ make test
+}
+
+package() {
+ cd [% distdir %]
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}