diff options
author | Anton Leontiev | 2014-02-12 11:39:53 +0400 |
---|---|---|
committer | Anton Leontiev | 2015-02-15 07:48:20 +0300 |
commit | a3acd98935191a9b830f41bb99c57dfeab7ab902 (patch) | |
tree | 4176b65e03f06ddd008c9ffc45f2e09592c89822 | |
download | aur-a3acd98935191a9b830f41bb99c57dfeab7ab902.tar.gz |
Initial v0.3-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | PKGBUILD.tt | 34 |
4 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..30d70820ca90 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-text-lorem + pkgdesc = Perl package and tool to generate random Latin looking text + pkgver = 0.3 + pkgrel = 1 + url = http://search.cpan.org/dist/Text-Lorem + arch = any + license = PerlArtistic + license = GPL + makedepends = perl-module-build + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/A/AD/ADEOLA/Text-Lorem-0.3.tar.gz + md5sums = 7fa832ff29a5307bcd80dd4af8ec3e7d + +pkgname = perl-text-lorem + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e6b6b4b8077d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.tar.gz +*.tar.bz2 +*.tar.xz +*.tar.lz +src/ +pkg/
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2452c0f75146 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# CPAN Name : Text::Lorem +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.28 + +pkgname=perl-text-lorem +pkgver=0.3 +pkgrel=1 +pkgdesc='Perl package and tool to generate random Latin looking text' +arch=('any') +url='http://search.cpan.org/dist/Text-Lorem' +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-module-build') +source=(http://search.cpan.org/CPAN/authors/id/A/AD/ADEOLA/Text-Lorem-0.3.tar.gz) +options=(!emptydirs) +md5sums=('7fa832ff29a5307bcd80dd4af8ec3e7d') + +build() { + cd Text-Lorem-0.3 + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT + PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl Build.PL --installdirs vendor --destdir "$pkgdir" + perl Build +} + +check() { + cd Text-Lorem-0.3 + perl Build test +} + +package() { + cd Text-Lorem-0.3 + perl Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/PKGBUILD.tt b/PKGBUILD.tt new file mode 100644 index 000000000000..c165449b69c4 --- /dev/null +++ b/PKGBUILD.tt @@ -0,0 +1,34 @@ +# CPAN Name : Text::Lorem +# Contributor: [% packager %] +# Generator : CPANPLUS::Dist::Arch [% version %] + +pkgname=[% pkgname %] +pkgver=[% pkgver %] +pkgrel=[% pkgrel %] +pkgdesc='Perl package and tool to generate random Latin looking text' +arch=('any') +url='[% url %]' +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-module-build') +source=([% source %]) +options=(!emptydirs) +md5sums=('[% md5sums %]') + +build() { + cd [% distdir %] + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT + PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null perl Build.PL --installdirs vendor --destdir "$pkgdir" + perl Build +} + +check() { + cd [% distdir %] + perl Build test +} + +package() { + cd [% distdir %] + perl Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |