summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-23 16:58:29 +0400
committerAnton Leontiev2015-02-15 07:48:01 +0300
commit559cae6d5076d412a091620df2530fdaca5c1f02 (patch)
tree4ea1123f57099c75e81300817e71b5d1bb82fc85 /PKGBUILD
downloadaur-559cae6d5076d412a091620df2530fdaca5c1f02.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8faefa809d2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+pkgname=perl-email-foldertype
+pkgver=0.813
+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")
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-FolderType-$pkgver.tar.gz)
+md5sums=("4d33367e38ec1548737c15ccd200f18c")
+
+build() {
+ cd "$srcdir/Email-FolderType-$pkgver"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/Email-FolderType-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/Email-FolderType-$pkgver"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}