summarylogtreecommitdiffstats
path: root/PKGBUILD.tt
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-30 16:57:26 +0400
committerAnton Leontiev2015-02-15 07:48:18 +0300
commit7976e73868e13bf1c7b657f001c5cc77c0b1690e (patch)
tree94cc4581e90de9ceb9878921657129c111db6727 /PKGBUILD.tt
parent559cae6d5076d412a091620df2530fdaca5c1f02 (diff)
downloadaur-7976e73868e13bf1c7b657f001c5cc77c0b1690e.tar.gz
Updated to v0.814
Diffstat (limited to 'PKGBUILD.tt')
-rw-r--r--PKGBUILD.tt33
1 files changed, 33 insertions, 0 deletions
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
+}