summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Komolov2015-06-08 12:13:45 +0300
committerAnton Komolov2015-06-08 12:13:45 +0300
commit12cd8ee8b2298c4833ef71a1a151432d5cc9fcfd (patch)
tree7da26dbe822b99a7419732e3bf8018a117c34066
downloadaur-12cd8ee8b2298c4833ef71a1a151432d5cc9fcfd.tar.gz
Initial import
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD48
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..913d0d5094a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = perl-locale-maketext-lexicon-dbi
+ pkgdesc = Locale::Maketext::Lexicon::DBI - Database based lexicon fetcher/parser
+ pkgver = 0.2.1
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Locale-Maketext-Lexicon-DBI/
+ arch = i686
+ arch = x86_64
+ license = perl
+ makedepends = perl
+ depends = perl
+ depends = perl-locale-maketext-lexicon
+ provides = locale-maketext-lexicon-dbi=0.2.1
+ provides = Locale::Maketext::Lexicon::DBI=0.2.1
+ provides = perl-locale-maketext-lexicon-dbi=0.2.1
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/M/MD/MDIETRICH/Locale-Maketext-Lexicon-DBI-v0.2.1.tar.gz
+ md5sums = 736c288de239f6e06366c8bca6fce431
+ sha512sums = d438528d80306bc3bb07489702d631c9fbe952164ac8e2efeeaccf5a7d85fc11211d0e1688cf53473efe71766a3012812c62856eece513b9f4a4374eae4058e4
+
+pkgname = perl-locale-maketext-lexicon-dbi
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7498193b5d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Contributor: xRemaLx <anton.komolov@gmail.com>
+
+pkgname='perl-locale-maketext-lexicon-dbi'
+_pkgname='Locale-Maketext-Lexicon-DBI'
+pkgver=0.2.1
+pkgrel=2
+pkgdesc='Locale::Maketext::Lexicon::DBI - Database based lexicon fetcher/parser'
+arch=(i686 x86_64)
+license=('perl')
+url="http://search.cpan.org/dist/Locale-Maketext-Lexicon-DBI/"
+options=(!emptydirs)
+
+depends=('perl' 'perl-locale-maketext-lexicon')
+makedepends=('perl')
+
+provides=('locale-maketext-lexicon-dbi=0.2.1' 'Locale::Maketext::Lexicon::DBI=0.2.1' 'perl-locale-maketext-lexicon-dbi=0.2.1')
+
+source=("http://search.cpan.org/CPAN/authors/id/M/MD/MDIETRICH/${_pkgname}-v${pkgver}.tar.gz")
+md5sums=('736c288de239f6e06366c8bca6fce431')
+sha512sums=('d438528d80306bc3bb07489702d631c9fbe952164ac8e2efeeaccf5a7d85fc11211d0e1688cf53473efe71766a3012812c62856eece513b9f4a4374eae4058e4')
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-v${pkgver}"
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# vim:set ts=2 sw=2 et: